您的位置:首页 > 其它

ubutun里面用命令行安装软件

2015-12-03 01:23 211 查看

Installing via Terminal

Installing from terminal can be done in several ways:

APTYou can search for an application. The command to search for software is:

apt-cache search <application_name>

Adding Repositories:

Edit the sources list file, and add

sudo -H gedit /etc/apt/sources.list

Or add from terminal

sudo add-apt-repository <repository_name>
sudo apt-get update
sudo apt-get install <application_name>

Others ways you can install

Manual download of a .deb (Debian package):

Once downloaded, you can double-click on the package to have it open in the Software Center, from where you can install it.

Or, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, navigate to the download location, and run the command(s) below:

sudo dpkg -i <package_name>.deb
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: