Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How Ubuntu uses GDebi to install packages

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "Ubuntu how to use GDebi to install packages", the content is simple and easy to understand, organized clearly, I hope to help you solve doubts, let Xiaobian lead you to study and learn "Ubuntu how to use GDebi to install packages" this article bar.

1. Open the Run Programs dialog box with superuser privileges

You may already know that Alt+F2 opens the Run Program dialog box, and you can type any command line to run it. If you type gksu in a terminal window, a similar dialog box pops up, but the programs are running with root privileges. You can bind this command to keyboard shortcuts (such as Shift+Alt+F2) via System->Preferences-> Keyboard Shortcuts, to make it easier to use.

2. Use GDebi to install packages

I haven't noticed GDebi for a long time, it's a GUI program for installing packages you manually download yourself. It resolves dependencies based on the utility feature of the software repository. Many of you, like me, probably use the traditional dpkg command. One day I discovered that GDebi can also be run in command-line mode (sudo gdebi package.deb), and its functionality is exactly the same as in GUI mode. Try this command, you may never want to use dpkg-i again.

3. CD Command Tips

I'm sure even many command-line experts occasionally discover tricks they weren't aware of before. Recently, I discovered two previously overlooked tricks with CD commands: typing cd without any arguments to switch directly to the/home directory (equivalent to cd ~), and typing cd -to switch to the previous directory you browsed.

4. Add directories to the directory stack using PUSHD

First of all, let's explain what a directory stack is. It's very simple. It's a list of directories stored by bash. The currently browsed directory is always at the top of the list, but if you don't add directories to it via PUSHD, the list is empty. For example, using pushd /usr/bin adds the/usr/bin directory to the list and switches to it (plus the-n argument to stay in the current directory without jumping).

Popd removes the topmost directory and jumps to the next directory in the list. Try this command. It can be useful when you need to jump between directories while managing your system or when you tend to forget where important things are.

5. Use PKILL to quickly kill processes

Ubuntu tips I often use top, kill or killall processes plus ps| aux Find process number/process name to kill process. But the pkill command removes a lot of work, and pkill firefox kills all firefox-compatible incheng in the process list. Pstree is also a cool command that displays all processes as a family tree based on all relationships.

6. Customizing Gnome with Gnome Center

For users who have trouble giving up windows and want a control panel-like experience, consider gnome-control-center for system configuration. Ubuntu Tips Adding shortcuts to the desktop allows novices to get a Windows-like experience and avoid getting lost in complex system menus.

7. Speed up OpenOffice.org launch

If you use OpenOffice.org a lot, you may be disappointed by its long startup time. To fix this, open the session program (called Startup Item Management in Jaunty, you can always find it in System->Preferences->Startup Applications anyway) and add a new item. Type openoffice -nodefault -nologo on the command line. After restarting, OpenOffice will cache when Gnome desktop starts, and any OpenOffice programs will finish quickly when you start them again.

8. Clean up disk garbage quickly

Running out of disk space again? Try typing sudo apt-get autoremove and sudo apt-get clean in a terminal window. The former command unloads all unused dependencies on the system, and the latter command clears all cached package files. Both are harmless. On a system that has been upgraded many times, you may be able to clear several gigabytes of space in this way.

9. Find missing file extensions

Ubuntu Tips If you receive an email attachment without an extension and don't know what type it is (Apple users often ignore file extensions), try the file command and add the filename directly. Also try the strings command, which displays any displayable strings in the binary file. The file type is usually a few lines up, so it's a good idea to pipe this command to head.

That's all for "Ubuntu How to install packages using GDebi", thanks for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report