云网牛站
所在位置:首页 > Linux教程 > 在Kali Linux 2020上安装Visual Studio Code和TeamViewer

在Kali Linux 2020上安装Visual Studio Code和TeamViewer

2020-06-11 10:48:31作者:牛福昕稿源:云网牛站

本文介绍在Kali Linux 2020系统上安装Visual Studio Code(简称VS Code)和TeamViewer的方法。

 

在Kali Linux 2020上安装Visual Studio Code

我们将使用官方的APT存储库在Kali Linux上安装Visual Studio Code,在添加存储库之前,请更新系统并安装以下软件包:

sudo apt update

sudo apt install curl gpg software-properties-common apt-transport-https

将Microsoft GPG密钥导入您的Kali Linux:

curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -

然后将VS Code的APT存储库添加到Kali Linux:

echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" | sudo tee /etc/apt/sources.list.d/vscode.list

最后在Kali Linux上安装Visual Studio Code:

sudo apt update

sudo apt install code

请耐心等待Kali Linux上VS Code的安装,根据您的互联网状况,这应该是一个快速的过程,大致会返回如下信息:

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following packages were automatically installed and are no longer required:

 figlet finger firebird3.0-common firebird3.0-common-doc freerdp2-x11 gdal-data libarmadillo9 libarpack2 libbson-1.0-0 libcfitsio8 libcharls2

 libconfig-inifiles-perl libdap25 libdapclient6v5 libepsilon1 libfbclient2 libfreerdp-client2-2 libfreerdp2-2 libfreexl1 libfyba0 libgeotiff5

 libhdf4-0-alt libkmlbase1 libkmldom1 libkmlengine1 libmemcached11 libmongoc-1.0-0 libnetcdf15 libodbc1 libogdi4.1 libqhull7 libspatialite7 libssh-4

 libsuperlu5 liburiparser1 libwinpr2-2 libxerces-c3.2 medusa odbcinst odbcinst1debian2 python3-aiohttp python3-aioredis python3-ajpy

 python3-apscheduler python3-async-timeout python3-git python3-gitdb python3-multidict python3-pyexploitdb python3-pyfiglet python3-pyshodan

 python3-pysmi python3-pysnmp4 python3-quamash python3-smmap python3-tld python3-yarl python3-yaswfp rwho rwhod sparta-scripts toilet-fonts wapiti

 xsltproc

Use 'sudo apt autoremove' to remove them.

The following NEW packages will be installed:

 code

0 upgraded, 1 newly installed, 0 to remove and 819 not upgraded.

Need to get 62.3 MB of archives.

After this operation, 265 MB of additional disk space will be used.

在Kali Linux上安装Visual Studio Code后,启动它:

在Kali Linux 2020上安装Visual Studio Code和TeamViewer

至此,安装Visual Studio Code完成。

注:其他安装方法,可参考在Ubuntu 20.04下可用snap来安装Visual Studio Code一文。

 

在Kali Linux 2020上安装TeamViewer

可以手动下载由TeamViewer分发的Debian软件包,或将APT存储库添加到系统,然后从该存储库在Kali Linux上安装TeamViewer:

echo "deb http://linux.teamviewer.com/deb stable main" | sudo tee /etc/apt/sources.list.d/teamviewer.list

将TeamViwer存储库添加到Kali Linux之后,更新软件包索引:

sudo apt update

导入GPG密钥:

sudo apt -y install gpg ca-certificates

wget -O - https://download.teamviewer.com/download/linux/signature/TeamViewer2017.asc | sudo apt-key add -

然后在Kali Linux上安装TeamViewer:

sudo apt update

sudo apt install teamviewer

使用y键接受安装,返回的信息大致如下:

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following packages were automatically installed and are no longer required:

 figlet finger firebird3.0-common firebird3.0-common-doc freerdp2-x11 gdal-data libarmadillo9 libarpack2 libbson-1.0-0 libcfitsio8 libcharls2

 libconfig-inifiles-perl libdap25 libdapclient6v5 libepsilon1 libfbclient2 libfreerdp-client2-2 libfreerdp2-2 libfreexl1 libfyba0 libgeotiff5

 libhdf4-0-alt libkmlbase1 libkmldom1 libkmlengine1 libmemcached11 libmongoc-1.0-0 libnetcdf15 libodbc1 libogdi4.1 libqhull7 libspatialite7 libssh-4

 libsuperlu5 liburiparser1 libwinpr2-2 libxerces-c3.2 medusa odbcinst odbcinst1debian2 python3-aiohttp python3-aioredis python3-ajpy

 python3-apscheduler python3-async-timeout python3-git python3-gitdb python3-multidict python3-pyexploitdb python3-pyfiglet python3-pyshodan

 python3-pysmi python3-pysnmp4 python3-quamash python3-smmap python3-tld python3-yarl python3-yaswfp rwho rwhod sparta-scripts toilet-fonts wapiti

 xsltproc

Use 'sudo apt autoremove' to remove them.

The following additional packages will be installed:

 qml-module-qtgraphicaleffects qml-module-qtquick-controls qml-module-qtquick-dialogs qml-module-qtquick-layouts qml-module-qtquick-privatewidgets

 qml-module-qtquick-window2 qml-module-qtquick2

The following NEW packages will be installed:

 qml-module-qtgraphicaleffects qml-module-qtquick-controls qml-module-qtquick-dialogs qml-module-qtquick-layouts qml-module-qtquick-privatewidgets

 qml-module-qtquick-window2 qml-module-qtquick2 teamviewer

0 upgraded, 8 newly installed, 0 to remove and 821 not upgraded.

Need to get 15.5 MB of archives.

After this operation, 78.7 MB of additional disk space will be used.

Do you want to continue? [Y/n] y

使用桌面启动器搜索功能在Kali Linux上搜索TeamViewer以启动它:

在Kali Linux 2020上安装Visual Studio Code和TeamViewer

然后会要求接受许可协议并输入远程计算机详细信息以获取访问权限(ID和密码),以下是成功的界面:

在Kali Linux 2020上安装Visual Studio Code和TeamViewer

除了以上图形桌面操作外,还可以在命令行中启动:

$ teamviewer

返回的信息大致如下:

Init...

CheckCPU: SSE2 support: yes

Checking setup...

Launching TeamViewer ...

Launching TeamViewer GUI ...

至此,安装TeamViewer完成。

 

相关主题

在Linux和Windows下去掉Visual Studio Code标题栏的方法

精选文章
热门文章