root@Think:~# apt-get install x-window-system #安装X Window root@Think:~# apt-get install kde-core #安装KDE核心 root@Think:~# apt-get install kde-i18n-zhcn #kde中文语言(不安装这个字体就是在kde桌面环境中用系统语言设置成中文也不能转换成中文) root@Think:~# apt-get install wqy* #所有...
首先,列出软件包的所有可用版本。例如,要查找可用的 firefox 版本,请运行以下命令。 sudoaptpolicy firefox 上面的命令显示了两个版本的 firefox。现在,运行下面的命令来安装 Firefox59.0.2 版本。 sudoaptinstallfirefox=59.0.2+build1-0ubuntu1
在执行apt-get install命令之前,通常建议先运行apt-get update命令来更新软件包列表,以保证安装的软件包是最新版本。apt-get install命令需要以root或者具有管理员权限的用户运行,因为安装软件包涉及到对系统文件的修改。 4. apt-get remove [package]:移除指定软件包 apt-get remove命令用于在Linux系统中卸载(删除)...
1.apt-get install package 安装包 2.apt-get install package - - reinstall 重新安装包 3.apt-get -f install 强制安装 -f = --fix-missing 修复安装 4.apt-get remove package 删除包 5.apt-get remove package --purge 删除包,包括删除配置文件等 6.apt-get update 更新源 7.apt-get upgrade 更新...
sudo apt-get install aptitude -y 5、用aptitude查询软件源里有什么版本的内核(backports内核的名称中间有bpo字样) aptitude search linux-image 带cloud字样的是推荐云上的虚拟机用的,dbg字样的是带系统调试信号库的,什么都不带的是推荐物理机器用的
sudo pip install module-name 5.运行脚本 切换到Python脚本所在的目录,然后执行以下命令来运行Python脚本: python3.10 hello.py *安装OpenCV pip3.10 install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python 安装matplotlib 模块: sudo apt-get update ...
sudo apt-get install oracle-java8-installer#java 8 3.安装 Hadoop 3.1 下载Hadoop 选择合适的版本,官网太慢,因此使用选择国内阿里云镜像(p:中科大源镜像更快) https://mirrors.aliyun.com/apache/hadoop/common/ https://mirrors.ustc.edu.cn/apache/hadoop/common/hadoop-3.4.0/ ...
2:使用新版的apt-get 下载deb包的方式(指定版本、no有效签名、仅仅下载、不希望依赖) # 该方式下载的系统的apt的cache下 apt-get -y install libc6-dev=2.15-0ubuntu10.18 --reinstall -d -m apt-get -y install libc6-dev=2.15-0ubuntu10.18 --reinstall -d -m ...
2 2.更新debian安装源:apt-get update 3 3.使用命令一键安装lnmp:apt-get install nginxmysql-serverphp5-fpm php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-common php5-mysql php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl ...
安装软件 命令: apt-get install softname1 softname2 softname3…… 卸载软件 命令: apt-get remove softname1 softname2 softname3…… 卸载并清除配置 命令: apt-get remove --purge softname1 更新软件信息数据库命令: apt-get update 进行系统升级 命令: apt-get upgrade 搜索软件包 命令: apt-cache...