How to become a Superuser to install a package that is downloaded
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to become a Superuser to install a package that is downloaded
Hi,
I am using Zorin 15. I found Xampp and downloaded it okay to the Downloads folder. Through the terminal I tried to run it but got this error.
Quote:
david@david-HP-Compaq-6000-Pro-MT-PC:~/Downloads$ sudo chmod +x xampp-linux-x64-7.3.10-1-installer.run
chmod: cannot access 'xampp-linux-x64-7.3.10-1-installer.run': No such file or directory
david@david-HP-Compaq-6000-Pro-MT-PC:~/Downloads$
I went to the terminal and made myself a Superuser (# at prompt) but it still keeps saying in the GUI that the installer needs Superuser privileges to install.
The second command you ran brought you back to the prompt in the terminal which would usually indicate success. Run ls -l on the file will tell you if it is executable. Running a command with sudo in a terminal isn't going to give you root/sudo privileges in a GUI, that's expected behavior. The link below is the Ubuntu documentation on using sudo which might be worth looking at, particularly the Graphical Sudo section on that page. As you can see on that page, the methods vary depending upon the Desktop environment. What are you trying to do in the GUI?
I was trying to install the Xampp package but as you can see it just didn't happen.
I am trying to get my head around the Linux coding but in the meantime found this link which I followed to the dot and it gave installed the package. When I checked localhost via FF it was okay except for phpMyadmin which gave this error.
Quote:
Welcome to phpMyAdmin
Error
MySQL said: Documentation
Cannot connect: invalid settings.
mysqli_real_connect(): (HY000/2002): No such file or directory
Connection for controluser as defined in your configuration failed.
mysqli_real_connect(): (HY000/2002): No such file or directory
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.