Ubuntu :: Installing Packages Without Sudo Access?
Nov 24, 2010
I do a lot of testing and developing on an Ubuntu machine at my university, and I don't have sudo access to the machine. It hasn't been a problem so far because the tools I've needed have been installed.
However, I have to build OpenCV, which has a lot of dependencies, some of which (notably, libbz2-dev) aren't installed.
I have access to localtmp on the local drive, and of course my own home folder (which is on NFS). Is there a way for me to install a local version of the tools I need using apt-get without sudo access? If not, is there another way to install them? I've been using CMAKE_INSTALL_PREFIX=/localtmp for some builds, but I'm not sure if this is the way to go, or if there is a better way.
tl;dr Is there a way to install applications locally without the ability to sudo?
I am working on a project which targets both 32 and 64 bit architectures at the moment. My system is amd64. I added i386 architecture using this guide. However, my problem is
Code: Select allapt-get install package-name:i386
prompts the removal of currently installed packages (amd64 arch.) which is the problem.
Code: Select allReading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libportaudio0:i386
[Code] ...
Some of the packages I am talking about are
-libegl1-mesa-dev:i386 -libportaudio-dev:i386
Now, as of now, I want to carry out the compilation using 32 bit libraries, however, I really don't want to install 64bit version of all prerequisites each time I switch the compilation from 32 bit to 64. Is there any way to have both architectures at the same time?
Is there any way to find out what packages were removed by the last 'sudo apt-get autoremove' command? Is that info in a log somewhere? I am setting up a recently installed minimal install and my last autoremove seemed to remove some dependencies which has in turn killed my network connections, wired and wireless.
From the terminal I got this message: The following packages were automatically installed and are no longer required: libqt4-opengl freemat freemat-help libgfortran3 libsdl-ttf2.0-0 libmikmod2 libqt4-svg libblas3gf libamd2.2.0 libsdl-mixer1.2 libumfpack5.4.0 freemat-data libsmpeg0 Ok, what I really don't understand is that why is it that Freemat, my most important software, is listed as "no longer required"? Of course if I use sudo apt-get autoremove will remove all the mentioned packages including Freemat.
In installing Firefox with sudo apt-get install firefox I don't get Firefox version 5. It seems odd that with Firefox being the main browser included with Ubuntu we don't get the greatest. What is the location of Firefox in Ubuntu, so I can install it with the tar command like on Slackware? Also, anyone know an operand to make tar overwrite files in Ubuntu so I don't have to rm them first, or is this just enhanced security?
when I try to install anything using the Ubuntu software centre, I get the following message Requires installation of untrusted packages The action would require the installation of packages from not authenticated sources.
It's been a few years since I last installed Ubuntu. I searched the forums and can't seem to find the answer. I want to be able to do a "su root" and have root access. I know Ubuntu wants you to do the sudo command, and I know you can really mess things up being root. I know I got this to work before. What do I need to do?
Let me see if I can put this coherently: Programs that require super user authentication AFTER they have been launched (for instance,in the time settings applet, you have to sudo authenticate to update the clock, but not just to open the applet. Another instance is Ubuntu-Tweak, which requires admin rights for some of it's functions.)
[Code]...
Any other information provided on request. I'm using Ubuntu 10.04.1, all updates applied.
Sorry if this is on the forums some where but I couldn't find what I needed, and not even with Google's mighty help. Basically I have a game, called Age of Conquest III, which I got working just fine, but it won't save any setup or game files unless I run it as sudo from the terminal, example in terminal: Sudo /bin/sh "/opt/age_of_conquest_iii/Age of Conquest III" Now I created a short cut with the command being just: /bin/sh "/opt/age_of_conquest_iii/Age of Conquest III"
What command do I put in my shortcut command to get it to open up like in my terminal command? I tried: Sudo /bin/sh "/opt/age_of_conquest_iii/Age of Conquest III" but this won't open anything.
I want to know how to setup SUDO, here is exactly what I mean. I have Zorin which is a ubuntu build, I have it upgraded to the newest 11.04 - My main user is Hevithan and I have a seperate user account called GUEST for anyone who wants to use my laptop. Hevithan I guess was setup to have max root powers cause when I type sudo in terminal with no option specified it returns:
Code: Hevithan has access to all (ALL) all (ALL) all (ALL)
I want to setup my GUEST account to have virtually no powers (no installing files or programs, no using Ubuntu software,no altercation of anything on the Hevithan account,etc), But I want anyone using it to be able to fix things using the terminal if need be (such as my cousins or girlfriend). To what things should they be allowed to do to able to fix but not alter? And if I want them to not be able to install programs or download porn (video at least) and $#!+, but still get things like MP3s and wallpaper images is that possible?
so i was removing softwares using ubuntu software center.. games i don't play and cheese webcam booth because it was not working, i intended to re-install it. after my installation, half my icons (i have extensively personalized my desktop) changed to defaults. The themes page said 'theme will not be as it appears because default.kde is not installed'. i did not remove any such package. just games. and furthermore, i installed a kubuntu plasma desktop system which i read in a thread contains the file default.kde but that hasn't helped and i still don't know what do to..
I am trying to get a non-root account on one of our servers to run a script with sudo capability. To that end, I went into the /etc/sudoers file, and added the following syntax:
Code: ## Enable the nagios user to run the check_iptables.sh script as root nagios ALL=NOPASSWD: /usr/local/nrpe/libexec/check_iptables.sh, /sbin/iptables
I restarted the nagios service, and tested the results. The results were the user account still could not run the script due to the user, nagios, not having permission to run the iptables binary.
Is there another step(s) that I need to take in order to get the sudo access available to the user account?
I have installed Ubuntu Server 10.10 in Virtual Box in order to evaluate it for a project.I have installed Gnome and can log in fine using my password. However, whenever I am prompted for my password when doing anything SUDO I am told my password is incorrect, starting Synaptic, for example
I just installed Fedora 14 and I need to install adobe flash. I found a few thread explaining how to, but when I type: [jlb@xxx ~]$ sudo rpm -ivh [URL]
It tells me that I am not in the sudoers file. This is the message I got: jlb is not in the sudoers file. This incident will be reported.
What is this error mean? When I installed fedora yesterday, I was prompted to setup a root user password, which I did. I also need to install schockwave player and it is the same.
I have been reading guides for a while now and so far have not found an exact solution to my problem.
I want a linux user (dave) to be able to switch to another account (patrol) without a password prompt, but dave must still be denied access to root. Patrol must also be denied root access.
In the sudoers file
Code: User_Alias Patrol=dave,john root ALL=(ALL) ALL Patrol ALL=(patrol) NOPSSWD: ALL
I am looking for gcc installation in CentOS 5.4. I cannot use yum install since not connected to internet. I tried to do sudo apt-get install build-essential but received the following error: sudo: apt-get: command not found How to install gcc in my Linix machine?
I made a Desktop User account. When I went on that account, it allowed me to execute sudo as if I was an administrator. I don't know what might be causing this. I do have ufw set up and blocking incoming connections. Do you guys know what might be at the root of this?Also, when I used sudo from the user account (which I shouldn't have been able to do), I provided the password for my admin account.
I have a log server that collects logs from all the cisco devices on our network.he company policy states that any logs should only be accessible by root. So I have the following permissions set on the directory, as well as everything inside the directory where the cisco logs are kept.
Code: drwx------ 65 root root 4096 Apr 29 7:38 rsyslog The cisco folks are requesting access to these logs, which is allowed by company policy.
since a recent upgrade to Mandriva 2010.1 I am not able to 'sudo' as administrator or when I use the 'root' password. I am the only user on this machine (Dell Inspiron 530S multi-booted with Window's Vista Home Premium, Ubuntu 10.4, and Mandriva 2010.1). I can get into the 'Manage Users' section of the control center by authenticating as 'root' but I can't access 'sudoers file' from command line.
is it possible to install programs present on one computer on another computer by transferring package files? For example, let's say I've installed Thunderbird on one Ubuntu machine. Would I be able to install thunderbird on another computer by copying some files from the first computer?
OS: Ubuntu 10.04. When I try to install some packages by aptitude, I see this: Before it, I made it (sudo apt-cdrom add): And it (sudo apt-get update):
My dvd-disk is not broken - md5 checksum is right. In sources.list I have only cdrom source, without any network repositories. When I install one package (for example pptp-linux) which don't use any depending, it work good, but when I have some group of packages - installed only first package from this group, you can see this in a first image, marked by yellow color and set to 16 percent.
I am a new user to linux. I downloaded and installed ubuntu 9.10 on my old desktop to try it out because i have always liked the idea of linux but have never really found the time to use or learn to use it. having had an old dos computer i can vaguely remember the idea of using a command line to change directories etc. so i just decided to wipe out xp on the desktop and install ubuntu lol. Installation went smooth but then i ran into some problems.
Unfortunately i use iphone tethering for access to the internet but ubuntu will only recognize my iphone as a picture storage device. so i did some research and found that i had to download and install some packages to set up tethering on ubuntu. so on my laptop running vista i downloaded libusb-1.0.6, cmake-2.8.0, libiphone-0.9.5, usbmuxd-1.0.0, and some other packages such as ifuse and libgpod. they were all .tar.bz2 files or .tar.gz files. I put these on a jump drive and took the jumpdrive and put it into my desktop. what i was wondering is if there is a way to install these packages from a usb jumpdrive? or is there a simpler way that i may have overlooked to establish an internet connection.