All Questions
Tagged with command-line package-management
336
questions
2
votes
1
answer
37
views
How to get package version in one command line in bash [duplicate]
I'm trying to get the installed version of systemd in the following command, but it returns all lines contain the keyword "systemd".
# dpkg -l | grep " systemd "
ii gnome-logs ...
0
votes
0
answers
95
views
uninstalling angular globally doesn't work
How can I fully uninstall angular in Ubuntu 22.04?
(dimo-labeling) (dimo-labeling) mona@ada:~/dimo-labeling/frontend$ npm uninstall -g @angular/cli
up to date in 164ms
(dimo-labeling) (dimo-labeling) ...
0
votes
0
answers
42
views
Aptitude file contents
I ran sudo gedit /etc/apt/apt.conf.d/00aptitude o access the aptitude file. I wasn't sure what it was at first and might have changed its contents unknowingly.
The first line was the only one there. I'...
4
votes
1
answer
9k
views
Why does "dpkg --instdir=dir/ -i xxx.deb" also set the administrative directory to "dir", like the "--root=ddd" option does?
I was using Ubuntu 22.04.3 LTS. I have made a file called helloworld.deb, Its source file structure is as follows:
helloworld
├── DEBIAN
│ └── control
└── usr
└── games
└── mygame.sh
I ...
0
votes
1
answer
122
views
How can I create my own app package?
I will give an example:
There is .deb, .appimage, flatpak, snap, AUR, etc, but I want to create my own (Example app.fictionalpackage)
Maybe zipping a folder with files inside and renaming ".zip&...
0
votes
0
answers
53
views
Need help while installing virtual box{i am a newbee} This is what I've got as errors list
virtualbox-7.0 : Depends: libqt5core5a (>= 5.15.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed
Depends: libqt5dbus5 (>= 5.14.1) but 5.12.8+dfsg-0ubuntu2.1 is to be installed
...
0
votes
0
answers
216
views
Need help installing libgraph library on ubuntu 22.04 LTS
I am new to Ubuntu. I am trying to install libgraph to use
#include <graphics.h>
in my school c++ programs.
I have ubuntu 22.04 LTS (jammy jellyfish).
The online tutorials ask to install guile ...
8
votes
2
answers
376
views
How can I find out names of applications to remove them in terminal?
I have tried to uninstall many apps in terminal because some apps are not shown in Ubuntu Software app. Every time I do this I have to search the Internet because it's hard to know how to write the ...
0
votes
0
answers
13
views
Surface Laptop Keyboard Kernel Installation Error [duplicate]
root@O22UGDW213:~# apt update
E: Conflicting values set for option Signed-By regarding source https://pkg.surfacelinux.com/debian/ release: /var/lib/extrepo/keys/surface-linux.asc !=
E: The list of ...
2
votes
2
answers
361
views
What does leading tilde mean in this argument to apt?
I found this snippet from the ROS installation tutorial.
https://docs.ros.org/en/iron/Installation/Ubuntu-Install-Debians.html
At the bottom, it says to remove all packages, executing the following ...
0
votes
1
answer
161
views
install packages (for python/django) from a txt file in ubuntu that was meant for windows
i am new but also have a weird problem. i m not deep into programming and i m just a power user, but i have to fix a typo in a python app which would be no problem but to run it again i have to get ...
0
votes
0
answers
89
views
Automating process that needs user interaction not working in Ubuntu using expect package
I want to automate the running of a process in Ubuntu using Expect.
The process that I have asks the user to insert "ok" and then ask them to insert a password.
I've created an Expect script ...
2
votes
1
answer
14k
views
How to install the libxcb-cursor.so.0 library?
Looking to install the feather wallet for Monero but am missing a shared library as below:
nicholas@mordor:~/Downloads$
nicholas@mordor:~/Downloads$ wget https://featherwallet.org/files/releases/...
0
votes
1
answer
44
views
How to get pythonpath to work for the python module in openmodelica Buildings running Ubuntu 20
I am having problems running my model in openmodelica on Ubuntu 20. I tried exporting the path following the documentation and installed libpython3.8-dev.
https://build.openmodelica.org/Documentation/...
2
votes
2
answers
99
views
I have no applications accessible including apps, desktop, startx, etc after removing a library (I think) in synaptic
I removed a library from my system by mistake. Can't remember the actual package name. Tons of stuff was removed. Now every application is inoperable and my application's window shows nothing.
Is ...
0
votes
0
answers
20
views
My terminal crashes with this error "ln: failed to create symbolic link '/usr/bin/python': File exists" [duplicate]
I'm not sure why it's happening.
tried to add more symbolic links or change it but it is not happening, it's giving another error that there are too many symbolic links.
some more issues I'm running ...
0
votes
0
answers
33
views
I try to install wine after deleted it once and when i try to install it again it said this. I don't know what to do i try everything already
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you ...
0
votes
0
answers
19
views
How can installing winamp audio player app in Ubuntu? [duplicate]
first of all I want to ask if the Winamp app can be used in Ubuntu? Because I have used that application for years, I have been using Ubuntu for about three years, and it seems to me better than ...
1
vote
1
answer
256
views
does "sudo apt --purge autoremove pkgname" clear literally all the dependencies or just the ones installed with the package?
I wanted to remove some random packages I had installed to try and get my Xbox controllers working, so I typed sudo apt --purge autoremove xboxdrv ubuntu-xboxdrv, as I read from this thread. The top ...
6
votes
3
answers
2k
views
How do I install upstream versions of popular CLI apps (nano, htop, tmux and lnav)?
In Ubuntu LTS, applications are locked to the version fixed to the release date. For Ubuntu 22.04 "Jammy" those are:
nano 6.2-1
htop 3.0.5-7
tmux 3.2a-4
lnav 0.9.0-2
I would like to ...
0
votes
0
answers
246
views
Cecilia5 software loading problem
`I'm running Ubuntu 22.04 and trying to install Cecilia5 software from here:
http://ajaxsoundstudio.com/cecilia5doc/
and from apt. I checked all the dependencies, seem all to be met. The problem is: ...
0
votes
1
answer
110
views
Sudo not allowing me to install stuff [duplicate]
So, I am using UBUNTU in a virtual machine. I tried this command in Xfce Terminal(I installed it) - sudo pacman -S make patch.But it is showing this after entering the correct psw -
https://i.sstatic....
0
votes
1
answer
2k
views
unable to execute /usr/bin/apt-get: no such file or directory when installing OpenSSH
I am running an Ubuntu VM on virtualbox and when I enter this command:
sudo apt-get install openssh-server openssh-client
I get the following message:
unable to execute /usr/bin/apt-get: No such file ...
0
votes
2
answers
731
views
How to get apt-get "Configuration Item" list?
I want to get them all, which I can't from the man apt-get and man apt.conf commands, not even looking for them online.
In the manual, for example there is no APT::Get::Clean and putting a bogus ...
4
votes
1
answer
9k
views
How to solve GPG Error with packages.microsoft.com PUBKEY
After installing MS VS Code and doing sudo apt update. an error appeared.
Err:4 https://packages.microsoft.com/repos/code stable InRelease
The ...
7
votes
1
answer
975
views
Phased updates stuck on 0%?
Greetings Ubuntu Community,
I use sudo apt update && sudo apt upgrade to update my 22.04 LTS install. I typically run the command a couple times throughout the week. I've noticed though for ...
0
votes
1
answer
359
views
What provides missing command package install hints?
On some Ubuntu systems I get hints like:
$ nc
Command 'nc' not found, but can be installed with:
apt install netcat-openbsd # version 1.206-1ubuntu1, or
apt install ncat # ...
2
votes
2
answers
2k
views
Installed .deb package won't run because there's a snap version of the package with the same name
I installed bbk-cli from the .deb package
eddie@laptop:~/Downloads$ sudo apt install ./bbk-cli_1.0.0_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information......
0
votes
1
answer
1k
views
dkpg not found error code 1
sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
dirmngr gnupg ...
0
votes
0
answers
314
views
Brew becomes unusable when a new terminal window opens
I installed brew and the installation was successful. I was able to run brew doctor and get the output. I opened a new window and Command 'brew' not found...
but when I run eval "$(/home/...
0
votes
1
answer
3k
views
Terminal doesn't find nvim command altough it is installed
I have installed nvim with brew (because the version I got with apt was not working with treesitter).
Everything was working fine but after a restart, my terminal didn't know the nvim and brew ...
1
vote
0
answers
119
views
Show more snap install info in command line?
When I install Snap packages via Terminal, it doesn't show my that much info. I want to see more information, such as dependencies installed, etc.
Also, I don't like it that after it displays ...
0
votes
0
answers
46
views
Dist-upgrade damaged OS. Should i reinstall Ubuntu? [duplicate]
I was having problems updating my Ubuntu 20.4. Even partial update was not working it was showing error like you don't have ubuntu-desktop and can't detect version of Ubuntu etc. So online i found a ...
1
vote
1
answer
516
views
With apt list can we see names of columns
When using apt list --manual-installed=true, it is hard to read.
So, I apt list --manual-installed=true | column -t and it reads pretty good, except I do not see a header for the columns. When I say ...
0
votes
0
answers
84
views
HELP to install PSPP - Terminal not working [duplicate]
I am new to Linux and need to install PSPP ( Linux free version of Social Statistcs -PSSP) for college. When I try to install it on the terminal it doesnt work.
This is what it says:
Reading package ...
3
votes
4
answers
1k
views
Which respository does xvnc4viewer belong to?
I am using Ubuntu 20.04 and have a list of package names of which I want to check whether it is part of the default Ubuntu repository.
So far I am iterating over the list an check with the following ...
7
votes
3
answers
2k
views
Install from file containing output from apt list --installed
I have a file that contains the output of apt list --installed from another machine.
i.e.
accountsservice-ubuntu-schemas/focal,focal,now 0.0.7+17.10.20170922-0ubuntu1 all [installed,automatic]
...
0
votes
1
answer
2k
views
How do I uninstall a package from terminal?
Days ago, I installed Wine 6.0.2 (to run windows software) and Winetricks '20210206-next' to be able to easily use Wine.
However, I uninstalled wine recently using sudo apt-get remove --auto-remove ...
0
votes
4
answers
162
views
I am looking for a terminal command that not only list all of the installed applications but, also has a breif discription of each one
I tried
apt list --installed
That did give me a long list of all of the applications, but without a description I don't know what I am looking at, so, I don't know what to ignore for now and which ...
1
vote
0
answers
322
views
How do I fix /etc/apt/sources.list [duplicate]
I was trying to install wine on my chromebook, when I encountered an issue. Currently when I try to execute any command I receive the error message:
E: Malformed line 1 in source list /etc/apt/sources....
1
vote
1
answer
2k
views
Size of a package: "Installed-Size" vs "Size"
I am trying to find out a package size.
I tried the following command:
$ apt-cache show mlocate | grep Size
Installed-Size: 252
Size: 50136
Does "Installed-Size" mean size after unpacking ...
3
votes
1
answer
589
views
How to catch the exit codes coming from preinst file while installing debian package?
I am trying to install a debian package on my box , through a shell script , i.e in the shell script I am giving the dpkg -i command . Internally there is a preinst file which is being used .
Now in ...
0
votes
0
answers
109
views
sudo apt update error: "E: Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/spotify.list" [duplicate]
$ sudo apt-get update
N: Ignoring file 'some-ppa.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'some-ppa.list.save....
0
votes
2
answers
1k
views
Multiple outputs for "apt-cache policy <package name>"
From what I understand, apt-cache policy <package name> displays the pinning order and thus the releases of package name available in the apt repositories along with their priority orders.
So, ...
0
votes
1
answer
3k
views
libXmu.so.6: cannot open shared object file
i am using ubuntu 18.04 LTS
4 GB RAM
intel i3 processor
how can I fix this
error while loading shared libraries: libXmu.so.6: cannot open shared object file: No such file or directory
0
votes
0
answers
52
views
Not able to install any software on Ubuntu
I tried to install MatLAB in the directory
/usr/local/MATLAB/R2018a/bin
and add this path to .bashrc.
After this, I was able to launch Matlab by just typing Matlab in bash.
But now, when I try to ...
-1
votes
1
answer
641
views
Permissions Denied error using linux ubuntu 20.04
I am editing the question with my attempt on running sudo apt-get upgrade
I can not upgrade the files after running that command. It tells me that it found files to upgrade but says 'failed to fetch' ...
1
vote
1
answer
621
views
On Ubuntu 20.04 getting loop when try to login, and on terminal always getting "Sorry, command-not-found has crashed! Please file a bug report at" msg
Whenever I try to run any command as like ls or sudo etc. I am getting below error and I won't able to login to my system.
(Note : I have seen multiple answers for this questions but non is worked for ...
1
vote
1
answer
2k
views
Unmet dependencies errors showing up whenever trying to install or uninstall any application
Every time I try to install or purge the app, Konsole throws the error of Unmet Dependencies. For example, if I try sudo apt-get purge google-chrome-stable
It throws these errors
Reading package lists....
-1
votes
2
answers
2k
views
Running `sudo apt purge python` leads to total system crash [duplicate]
Why am I faced with a total crash of Ubuntu Focal Fossa 20.04 LTS, if I run the following command?
sudo apt purge python*
I don't receive any alert from apt about that action before I start that ...