I am using Ubuntu 20.04. On Fedora/Red Hat or its derivatives,the installation can be performed using the following command: sudo dnf install make gcc-c++  However, on Ubuntu it gives me sudo: dnf: command not found  How can I fix this problem?
99557
/usr/bin/perl install-module.pl --all ERROR: Using install-module.pl requires that you install "make".   I need to install make on my ubuntu on AWS EC2. How can I do that ? I could finally install build-essential also successfully.  # make make: *** No targets specified and no makefile found.  Stop.
18035
I wanna solve some problems in compiz with my brain and hands.  By the way I entered following command to build compiz from source in Ubuntu 12.04  find /opt/compiz-built/share/gconf/schemas -exec gconftool-2 --install-schema-file={};   I referred that command at   And following message is shown.  How to use -exec option in find command, I guess that it's my mistake.
46798
I used sudo -H gedit /etc/environment command on terminal to permanently change my PATH variable.  To correct it, I pressed Ctrl+Alt+F1, and used export PATH command, but access was denied.   Many commands (including sudo and nano) are not recognized as the new PATH variable doesn't have /usr/bin. I am new to Linux commands.   How can I fix this?
113637
I'm having trouble getting clang++ to work as I compile my code. Specifically, I'm getting a make: clang++: Command not found error.  I've run sudo apt-get install llvm, and also sudo apt-get install build-essential and sudo apt-get update. What do I have to do to get clang++ installed?
44394
I recently moved to Linux, and I am in love with the experience. Opinions apart, I am having problems when running sudo dpkg --configure -a  My computer stops processing the command here:  You may know Adobe Flash Player is no longer supported, and I believe that could be why the command is unable to load pepperflashplugin-nonfree. I have tried fixing the problem by checking older posts here, but none of them was able to fix this problem.
93305
I tried to add a new repository to software sources, but "add source" button is unavailable. I can't click on it.  I also tried to add a new software source from the terminal, but it didn't work.  sudo‬‬ ‫‪add-apt-repository‬‬ ‫‪ppa:n-muench/burg‬‬   s‫‪udo‬‬: command not found     I also tried these commands:  ‫‪sudo‬‬ ‫‪add-apt-repository‬‬ ‫‪deb‬‬ ‫‪http://ppa.launchpad.net/n-muench/burg/ubuntu‬‬ natty‬‬ ‫‪main‬‬   sudo‬‬: command not found
8529
yum update --security installs only security updates. I think it's an extension from the yum-security plugin.  Is there an equivalent dnf command? (dnf replaced yum in Fedora 22)
75710
When I want to list installed packages, I do it usually in one of two ways.  The old fashioned way is using rpm -qa | grep &lt;whatever I look for&gt;, and that's that.  But recently I wanted a more comprehensive display of my packages, and henceforth, I used dnf list --installed &lt;whatever I look for&gt;.  However when looking at the result there are a couple things I don't understand.  Consider this example:  # dnf list --installed zsh                   Last metadata expiration check: 0:13:25 ago on Mon Jul 11 05:48:04 2016. Installed Packages zsh.x86_64            5.2-5.fc24            @@commandline   (spaces in actual printout are wider)  So the resulting entries, are: «package» «version» «repo».  In my example that's:   package: zsh.x86_64 version: 5.2-5.fc24 repo: @@commandline   So far the resulting table is understandable, but I'm confused what the two '@@' mean in front of the repo name.  Also, "commandline" suggests the package was installed from command line (downloading the RPM, and then doing dnf install whatever.rpm in the command line, etc.). However I'm pretty sure I've installed zsh via dnf install zsh.  But that's not all.  I've several packages on my system installed from the repo @System, @fedora (however there's also fedora without the @) and things like @@commandline.  So what does that @ or @@ exactly mean in front of the repo name?  And how come I've got so many prominent packages installed from @@commandline although I'm more than sure I've installed them from the repos?
21236
I want to learn Linux Kernel and I've downloaded the latest kernel version. Now I want to configure Linux with make menuconfig and I'm receiving an error:     Arch/x86/Makefile:184  Compiler lacks asm-goto support...   Can somebody help me?
53485
[Reviewers: note that the question was completely rewritten after the close votes.]  I recently found how I can define aliases for bash in the ~/.bashrc.  But since I tried that, I see the followig messages eveery time I open a terminal.  I added some bash aliases to my I was trying to create shortcuts using alias but I unsuccessful and somehow managed to get the message below every time I open up a new terminal.  bash: alias: UIC: not found bash: alias: =: not found bash: alias: sudo openvpn --config ~/vpn/UIC-alopez78.ovpn: not found bash: alias: mat: not found bash: alias: =: not found bash: alias: cd /home/alexisblopez/MATLAB/R2014a/bin/: not found bash: alias: lab: not found bash: alias: =: not found bash: alias: ./matlab: not found ~$    Its's confusing; it does not say error, but because my aliases do not work, I think I did something wrong with them - I don't know what!
62127
So, I'm running linux Mint (but I guess the same applies to Ubuntu) and as is common knowledge, their TeX distribution tends to be slightly outdated. Now I can't have none of that and decide to install it with the install-tl from the TeXlive homepage. Somehow, I cannot install it as a normal user (this I find normal as it is installing in the root directory), so I proceed to install TeXlive   sudo perl ./install-tl   and add the paths to .bashrc. All is well and my TeXlive installation works. Except for the texhash option. Running it as a normal user is no problem, except that I installed TeXlive as root, and so running texhash as normal user doesn't do anything (directory not writable. Skipping...). No problem I think, I'll just do it as root. But somehow texhash isn't installed for root.  Now, texhash is somehow connected to updating the directory tree, but I don't really know what it does. I use it on my ~/texmf/ folder to add my packages to a global path (I think), but when looking at info for this question I see in a comment for  question that this is apparently not needed, though I don't understand what I'm to do now.  So if I'm not adding new packages from CTAN or updating, I really don't need texhash and all is good?   To summarize: I'd like to know:    Why should I need texhash? Can I avoid installing as root on linux Mint/ubuntu ( they say you don't have to be root, that it's even discouraged)? Should I somehow install texhash for root?   I realize this might be a vague question at best, but I didn't find an answer I readily understood, so I'd appreciate any thought on this.
47429
I’m running Ubuntu 14.04. When I run:   sudo add-apt-repository ppa:ubuntu-wine/ppa   I get the following error:  sudo: add-apt-repository: command not found   I tried to run  sudo apt-get install software-properties-common   but it shows:  software-properties-common is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
44552
I have a program that is installed in a custom directory under /opt. To make it easier to run it, I edited my bashrc to add said directory to my path: export PATH=$PATH:/opt/godi/bin:/opt/godi/sbin  This works fine if I want to run the program without sudo. However, if I try to run it with sudo it fails with a &quot;command not found&quot; error. $ sudo godi_console sudo: godi_console: command not found  Inspecting the PATH variable after using sudo reveals that its not including the same PATH I have as a normal user: $ sudo sh # echo $PATH                  /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin  Why is the PATH not the same? Am I doing something wrong? I'm on Debian Jessie, if it makes a difference. One thing I tried was to invoke /opt/godi/sbin/godi_console directly, passing the absolute path to the executable. Unfortunatelly, that didn't help in this particular case because godi_console itself depends on the PATH being correctly set.
52316
I want to add some command to PATH so that I can use them conveniently, such as:  export $PATH = "$PATH:/opt/storm/bin"   but sometimes storm need root authority, but when I use it with sudo, Ubuntu cannot find the command.  sudo storm nimbus   how can I find these command when I use sudo?
39562
I installed Ubuntu 19.10 and have issues trying to create a desktop icon with gnome-desktop-item-edit.  $ sudo gnome-desktop-item-edit ~/Desktop/ --create-new    sudo: gnome-desktop-item-edit: command not found  $ which gnome-panel    /usr/bin/gnome-panel  $ gnome-panel --version    gnome-panel 3.34.0   Is this an issue with Ubuntu 19.10 or a problem with the gnome-panel package?
1117
Can I configure Fedora 22 so anything needing root privileges asks for a password, rather than giving an error, and needing me to re-run with sudo?  I wouldn't even mind having to type my password every time, without the few minute (or whatever it is) timer that it remembers the password for.  i.e. Instead of:  $ dnf history You don't have access to the history DB.   It would:  $ dnf history [sudo] password for &lt;username&gt;:   I think some of the gui apps do that, like the gui yum frontend back when I had that installed.  I'm thinking not... That it would be up to each app to implement this.  But, I'm hoping it might instead be that apps say root privilege is needed, and there might be some way for the kernel (or wherever else) to remain in a blocking input stage (for the password) before returning whether the user has access.
85711
When we want to run a programs as root we use sudo, gksu, gksudo and etc. Now my question is how do we can run a Terminal as the root user in Terminal?  I tried with using gksudo terminal and gksu terminal but nothing happens. and by running sudo terminal I get error sudo: terminal: command not found.