ubuntu系统如何安装软件

 

1、测试sl命令

root@ubuntu01:~/Desktop# sl
bash: /usr/games/sl: No such file or directory
root@ubuntu01:~/Desktop# 

 

2、安装sl

root@ubuntu01:~/Desktop# apt-get install sl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libfprint-2-tod1 libllvm10
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  sl
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/12.7 kB of archives.
After this operation, 60.4 kB of additional disk space will be used.
Selecting previously unselected package sl.
(Reading database ... 186405 files and directories currently installed.)
Preparing to unpack .../archives/sl_5.02-1_amd64.deb ...
Unpacking sl (5.02-1) ...
Setting up sl (5.02-1) ...
Processing triggers for man-db (2.9.1-1) ...

 

3、测试,已经出现或者画面

 

 

4、卸载

root@ubuntu01:~/Desktop# apt-get remove sl
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libfprint-2-tod1 libllvm10
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  sl
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 60.4 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 186428 files and directories currently installed.)
Removing sl (5.02-1) ...
Processing triggers for man-db (2.9.1-1) ...

 

5、测试,卸载成功

root@ubuntu01:~/Desktop# sl
bash: /usr/games/sl: No such file or directory

 

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。