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

 

posted @   小鲨鱼2018  阅读(580)  评论(0编辑  收藏  举报
编辑推荐:
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
历史上的今天:
2020-10-10 ModuleNotFoundError: No module named 'numpy' python报错解决记录
2020-10-10 plink软件中--set-missing-var-ids @:#的作用
2020-10-10 plink 软件中 --recode 01、--recode 12、--output-missing-genotype的作用
点击右上角即可分享
微信分享提示