Linux Starter Essentials Linux software Installation
First, online installation:sudo apt-get install
Ready to install if you cannot use the TAB key to complete the command after installation, you can perform:source ~/.zshrc
Apt (Advanced packaging tool), including Apt-get, Apt-cache, Apt-cdrom and other tools, apt can automatically download, configure, install binary or source code packages, thus simplifying the process of managing software on UNIX systems, Ubuntu is a release of Debian. The package management tool used by Debian is dpkg,redhat and CentOS use RPM. When performing the installation operation, Apt-get willLocalA list of packages to search for information about the software, which is used to update the following commands:sudo apt-get update
Some of the tools that Apt-get contains:install
Install a Packageupdate
Update the list of packages for the local software source from the software source mirror serverupgrade
Upgrade all locally Updatable packagesdist-upgrade
Resolve Dependencies and upgraderemove
Remove installed packages and dependent packages, but do not include configuration filesautoremove
Remove packages that have been previously removed from other packages but are no longer usedpurge
completely removed, including configuration file clean
autoclean some parameter descriptions : -y
Auto-response is installed , often used in scripts -s
simulate installation -Q
silent installation mode, specify multiple Q or-q=#, #表示数字, silent level -F
-D only download does not install --reinstall
Reinstall a package that is already installed but may be problematic --install-suggests
installation of APT recommended package reinstallation: sudo apt-get--reinstall install
software upgrade:
# 更新软件源 $ sudo apt-get update # 升级没有依赖问题的软件包 $ sudo apt-get upgrade # 升级并解决依赖关系 $ sudo apt-get dist-upgrade
To uninstall the software: sudo apt-get remove
or you can perform:
# 不保留配置信息 $ sudo apt-get purge your_software # 或者 sudo apt-get --purge remove # 移除不再需要的被依赖的软件包 $ sudo apt-get autoremove
Software search: sudo apt-cache search softname
ii. using dpkg to install the Deb package from a local disk : dpkg: (Debian Package) parameter description: -i
After installing the Deb Pack -R
, add the directory name, For installing all of the Deb installation packages in this directory remove -r
, removing an installed package displays the -I
deb package file information -s
displays information about installed software search for -S
installed packages -L
Display directory information for installed packages third, install from the binary package: simply unzip the binary package and place it in the appropriate directory, and then add the directory containing the executable's main program file to the PATH environment variable. Job: Run an animated software BB
Finally the animation is really cool, and then decisively downloaded to their own ubuntu. There should be some hacker's personal information, but also see the Microsoft what, although this animation does look particularly old, there is no sense of beauty, but still can feel, the original hackers were the technical feelings, very good.
Linux Starter Essentials Linux software Installation