小编Tim*_*Tim的帖子

完全删除应用程序的正确方法是什么?

我在网上搜索了这些信息,发现了不同的命令行,如下所示:

sudo apt-get remove application
sudo apt-get remove application*

sudo apt-get remove --purge application
sudo apt-get remove --purge application*

sudo apt-get purge application
sudo apt-get purge application*
Run Code Online (Sandbox Code Playgroud)

那么,正确的做法是什么呢?有必要使用那个“*”吗?

之后,我还找到了这些命令:

sudo updatedb
sudo locate application
sudo rm -rf (file/folder name)
Run Code Online (Sandbox Code Playgroud)

package-management command-line

667
推荐指数
6
解决办法
169万
查看次数

如何使文件(例如 .sh 脚本)可执行,以便它可以从终端运行

我有一个 script.sh 文件,这个文件的类型是 shellscript 文件。我想将此文件作为应用程序/x 可执行文件。我怎样才能做到?

command-line executable

356
推荐指数
3
解决办法
141万
查看次数

如何重新映射某些密钥或设备?

我正在寻找一种在 ubuntu 中重新映射某些键的方法。

IE

我想换PgUpHomePgDownEnd

在 Ubuntu/GNOME 中是否存在重新分配密钥的内置命令或工具?

xorg keyboard shortcut-keys

268
推荐指数
5
解决办法
30万
查看次数

如何配置新的 Ubuntu 安装以接受 ssh 连接?

我刚刚安装了 Ubuntu。我如何设置它以允许我 ssh 进入它?

现在我得到“ssh:连接到主机 xxxx 端口 22:操作超时”。

ssh

234
推荐指数
2
解决办法
43万
查看次数

如何修复 apt 错误“W:目标包...配置多次”?

我刚刚安装了 Ubuntu Gnome 16.04。我告诉它保存我的文件 - 有效。有些软件必须重新安装。现在,当我运行时,sudo apt-get update我看到:

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:33 and /etc/apt/sources.list:87
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:33 …
Run Code Online (Sandbox Code Playgroud)

apt

227
推荐指数
6
解决办法
27万
查看次数

升级时可用磁盘空间不足

当我尝试进行每日更新时,软件更新程序出现错误。它说:

The upgrade needs a total of 25.3 M free space on disk `/boot`.
Please free at least an additional 25.3 M of disk space on `/boot`.
Empty your trash and remove temporary packages of former installations 
using `sudo apt-get clean`.
Run Code Online (Sandbox Code Playgroud)

我尝试在sudo apt-get clean终端中输入,但我仍然收到消息。我阅读的所有页面似乎都是为有经验的 Ubuntu 用户准备的。我正在运行 Ubuntu 12.10。我想升级到 13.04,但我知道我必须先完成这些。

这是cat /etc/fstab在终端中输入的输出:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with …
Run Code Online (Sandbox Code Playgroud)

upgrade apt

153
推荐指数
5
解决办法
21万
查看次数

如何将 Ubuntu 回滚到以前的版本?

我刚刚安装了一个新版本的 Ubuntu,我想将它回滚到以前的版本。

我怎样才能做到这一点?这甚至可能吗?

downgrade release-management

147
推荐指数
8
解决办法
33万
查看次数

我能看到为什么安装了一个包吗?

对于特定的包,我可以找出安装它的原因吗?

那么,我可以看到它是手动安装的,还是作为另一个包的依赖项安装的?或者它是作为发行版的一部分安装的?

apt dependencies software-installation

146
推荐指数
4
解决办法
3万
查看次数

如何从命令行安装 Chromium?

我已经尝试过使用 Ubuntu 软件中心,但它不会安装 Chromium 浏览器。如何使用终端安装它?

command-line chromium software-installation

123
推荐指数
2
解决办法
50万
查看次数

如何修复损坏的 FAT32 文件系统

我的笔式驱动器使用的是 FAT32 文件系统。它经常有文件/数据损坏。

在 Windows 中,我使用了扫描磁盘实用程序来修复 FAT32/NTFS 文件系统。我怎样才能在 Ubuntu 中做到这一点?

fsck fat32

122
推荐指数
4
解决办法
32万
查看次数