Installing software while running bootable usb - linux

I am new to Linux so I have created a bootable usb drive with Linux Mint on it so that I can play around with it for a while before deciding if I want to install Linux on my harddrive.
I have created the pendrive with persistence so that I should have the ability to install software on it. However I can't seem to install anything.
I have downloaded the graphical linux postgresql installation file, given it execution permissions and then get the following error when I try to run it:
There has been an error
Error changing ownership of
/tmp/postgresql_installer_120403f9ba/lib/postgresql to root
I also downloaded the 7zip tar file, extracted it and tried to run the install.sh file. But nothing happens. Im just trying to see if I can get anything to install.
Im guessing either there's something with permissions that im not doing correctly, or it has something to do with the fact that im running linux from a usb drive.
As mentioned, im brand new to linux.

I have figured out what was required. I was trying to double click the install file from the GUI which wasn't working. I had to run it using sudo from the command line. Looks good now.

Related

MATLAB code on linux server

I have a MATLAB code like ( mycode.m ) on my laptop in a directory like "/home/user/apps/mfiles/mycode.m", and I access to a linux server that MATLAB is installed on it, how can I add the directory of mycode.m to the Linux server Matlab path with a code like addpath('/home/user/apps/mfiles/mycode.m') without copying my .m file on linux server?
I couldn't do what I wanted in my Question, but with installing SecPanel on my ubuntu I could load Matlab from server on my laptop screen and write my code easily on it.
sudo apt-get install secpanel

Install Scratch 2 under Linux Ubuntu 14.04

I tried to install Scratch 2 under Linux for Education at school. I followed these good instructions to install Adobe Air - everything works fine. But if I execute the Air-Installfile for Scratch I will be asked for the root password. In the little Pop-Up-Window it's not working so I tried to start the Air-File with these:
/opt/Adobe\ AIR/Versions/1.0/Adobe\ AIR\ Application\ Installer /{absolute path to downloadfolder}/Scratch.air
It works fine, but I get an error saying error that my Scratch-Install-File is broken... I re-loaded again but nothing changed. Does someone has an helpful idea?
Look at your file size. The download have maybe been interupted before it was complete. It happened to me so I downloaded it again with a download manager like JDownloader and installed it successfully but only with sudo
sudo /opt/Adobe\ AIR/Versions/1.0/Adobe\ AIR\ Application\ Installer /{absolute path to downloadfolder}/Scratch.air
The problem is that you can't launch it directly when you installed it with sudo rights. I'm looking for a solution but this is another problem.

my linux suse 13.6.2 is missing a directory

I downloaded Suse Linux 32bit 3.16.6.2.0 as an iso, burned a DVD and installed it as a dual OS with my Win 7. Now, to get the WLan Stick to work....
Using the Win OS I downloaded two files :
ndiswrapper-1.59.tar.gz and fwlanusb-1.00.00.tar.gz
I moved them into the Linux partition and ran the ./install files as instructed.
With both of these installation it requires running a makefile script. In both cases it comes to a crashing stop when /lib/modules/kernel3.16.6.2.0/build is not found.
The 'build' subdirectiory or file is not present. Can I call up one of the rpms to get this part of the Linux OS installed?? Which rpm??
Solving the problem with my WLAN Stick is especially hard because often the Linux documentation says : "in order to make you your internet connection function you must download xyz".
Please install the kernel-source RPM for your running kernel. If this doesn't help already, please make sure that a symlink from /lib/modules/kernel3.16.6.2.0/build to /usr/src/linux exists.

Installing a .bundle file in Fedora linux

So I am using Ozone OS which is basically just fedora with a cool theme, and a lot less crap installed. I tried installing VMWare Horizon view client from here: https://my.vmware.com/web/vmware/details?downloadGroup=VIEWCLIENTS_LINUX_32&productId=421&rPId=7320
and then i renamed the file to vmware.bundle, when i make it runnable with:
chmod +x vmware.bundle
i ran the file using:
./vmware.bundle
this is what happens in my terminal
VMWare Horizon Client is an x86 application but you are trying to install it to an x64 Linux.
To run this installation, you may need to install 32-bit runtime libraries. Do you want to proceed? (yes/no)yes
Extracting VMware Installer...done.
but when i try going to the application menu, I can find VMware anywhere
There is really no such thing as ".bundle" files on Fedora. The only format for installable software on Fedora are RPM files.
All that this ".bundle" file appears to be, is the vendor's custom installation script, that's all. It's not any kind of a standard packaging format, of any kind.
You will be able to find a newly-installed application on your application menu only if the application correctly installed a .desktop file in the right location. If this installation script did not do so, you won't get anything in the application menu.
It is the application script's responsibility to install a .desktop file in order for the application to appear in the application menu.
try running /bin/vmware
that is the default install location

How do I open the root.disk in linux?

When doing a wubi install of linux from windows, the place/file where all linux info is saved is inside a "root.disk" file.
I am intending on formatting my laptop to run linux only and I can't seem to find a way to open this root.disk file from linux itself (to extract some of the files from my previous installation). Of course, it does and is able to open in windows using a certain software, but because I will only have linux on my system now, does anybody know how to open this file in linux itself? It's kind of strange that it isn't able to open with the default linux tools.
Specs:
I am using Linux Mint 12 (via wubi install). Intending on moving to a 'lighter' version of linux.
You need to mount this image before you can access it, try the following:
mkdir olddisk
sudo mount -o loop /path/to/root.disk olddisk
You should now be able to access the data inside this container.

Resources