Manually installing packages for an offline pc

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

Manually installing packages for an offline pc

Postby spidamang on Tue Sep 11, 2007 8:48 pm

Good day. Forgive the long post.

I've been toying around with linux for a few months. I first started with Knoppix, then Ubuntu and finally to Linux Mint. My biggest hurdle with using Linux was that the pc I installed it on has no internet connection. Let's just say I temporarily rent a small room and getting a dsl line with a required 1 year lock on period is presently impractical.
Anyway, that little setback wasn't really a problem as I had a pretty decent connection at work and I could bum some large downloads from my best friend's broadband connection(where I get most of my iso images :wink: ) and just transfer them to my offline pc via a 2gig USB drive. Sadly this is kind of awkward and at times very difficult to do in Linux for me. When I was using ubuntu this howto really helped a lot and it worked for me to a degree. But the problem was that when I tried to manually install proprietary codecs, I didn't know where to start and frankly it was a bit overwhelming with the dependencies and all. So I thought it was easier to just look for a distro that had codecs out of the box.
That's how I found out about Linux Mint. I've installed and have been using cassandra for more than a month now and I am very happy with it. I have succesfully installed Kompozer through a deb package I manually downloaded. Installing the themes were ok too as it was just click and drag. But when I tried to install gnochmto read my ebooks in chm format, I couldn't. The file I downloaded was in .tar.gz format. When I followed the instructions given in this howto, the error message, "c could not make executable files" (or something to that effect. I forgot to record the log) came out after I typed ./configure. When I tried sudo make install, nothing happened.
For some reason I thought I just needed a c compiler, so I used my ubuntu feisty cd as a repository and installed gcc. But still nothing happened.
My question is, What did I do wrong, and what should I do so I could manually compile packages from the source?.
I've read this other thread but I'm not really interested about code optimizations and other technical stuff that the thread discussed. I just want to learn how to install packages I downloaded somewhere else.
Thank you for taking the time to read and for any help you could give me. I like linux mint. It has been a big help with my writing as it offers no distractions compared to windows. It just works. Now I want to learn to make it work more.
Cheers :D
spidamang
Level 1
Level 1
 
Posts: 4
Joined: Mon Sep 03, 2007 10:15 pm

Linux Mint is funded by ads and donations.
 

Postby Husse on Wed Sep 12, 2007 10:53 am

Take a look at APTonCD - google for it and you find what you need
of course you need some computer somewhere with internet to make the CD
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby spidamang on Wed Sep 12, 2007 8:06 pm

Thanks for the tip :D. I'll put it down on my list of options to try.

Right now I'm trying to figure out why the ./configure,sudo make install method for tar.gz files isn't working in mint. It worked ok with Ubuntu out of the box. Is the method different in mint?

Thanks again. cheers. :)
spidamang
Level 1
Level 1
 
Posts: 4
Joined: Mon Sep 03, 2007 10:15 pm

Difficulties in updating Mint

Postby wam0067 on Fri Sep 14, 2007 9:15 am

First, let me say that LinuxMint is great. I'm a linux newbie, but I have tried a few distro's and I seem to keep coming back to Mint as my fav.
Now for my issue:
I work for a large (2000+ employees) company that blocks any non cookie-authenticated links via HTTP to port 80. In other words, if anything other than a browser is trying to connect to port 80, it blocks it. From what I have been able to gather, this is how Mint gets its updates - but since update manager is not a browser and is not "cookie authenticated", the company blocks its communication. Is using APT to CD the best workaround for me? I know my company has RedHat servers that they keep up to date with "up2date" and this seems to work fine for them. It must use a different method or comm link to get its updates. (ftp??) I guess I could pack up my desktop in the car and take it home every 2 weeks and update from home, but what a pain that would be.

Thanks for any advice you might have.
wam0067
Level 1
Level 1
 
Posts: 4
Joined: Thu Sep 13, 2007 9:34 am

Re: Difficulties in updating Mint

Postby scorp123 on Fri Sep 14, 2007 4:16 pm

wam0067 wrote: I work for a large (2000+ employees) company that blocks any non cookie-authenticated links via HTTP to port 80. In other words, if anything other than a browser is trying to connect to port 80, it blocks it. From what I have been able to gather, this is how Mint gets its updates - but since update manager is not a browser and is not "cookie authenticated", the company blocks its communication.
Stupid question: Are you even allowed to install your own OS? e.g. Linux Mint? If not: Stuff like that can get you fired. Most companies I know (and I know many!) only allow certain "pre-approved" OS'es to be installed on their property. Installing stuff your own IT department didn't allow you to install can get you into *SERIOUS* trouble. Unless you're part of the IT department ... then you can get away with excuses like "ahemm ... I am evaluating new stuff, and now mind your own business ... " ... But: If you are part of the IT deparment then it should be no problem for you to have the firewalls adjusted so that your update traffic can get out ... But your thread here kinda demonstrates that this isn't the case? I am not your Mom, I am not your Dad ... I suppose you're old enough to know what you do. You better check your company's rules before your enthusiasm for Mint gets you fired.

wam0067 wrote: Is using APT to CD the best workaround for me?
In that case, yes. But see above. Doing such things can get you into serious trouble.

wam0067 wrote: I know my company has RedHat servers that they keep up to date with "up2date" and this seems to work fine for them.
"Quod licet Iovi, non licet bovi." == What Father-God Jupiter is allowed to do, doesn't mean that every stupid cow is allowed to do it too. In other words: Their Red Hat servers are probably in a different subnet, and probably have special rulesets on the company's firewall which would allow Red Hat update-related traffic to pass through. Your machine is probably in the same subnet with the other desktop machines, and it probably doesn't enjoy any special priviledges.

wam0067 wrote: I guess I could pack up my desktop in the car and take it home
And if someone sees you he will report you to your superiors for stealing a PC ... and before you know it you'll have the cops knocking on your door. Taking company property home is a perfect way to lose your job more or less instantly and ask for a lot of trouble. My suggestion: Don't even think about doing this!! You're asking for a hell lot of more trouble than you'd be able to handle!
User avatar
scorp123
Level 8
Level 8
 
Posts: 2287
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Postby allforcarrie on Fri Sep 14, 2007 10:03 pm

i had mint installed as a virtual machine for a while and installed it for my friend to use with out any internet access.
User avatar
allforcarrie
Level 2
Level 2
 
Posts: 86
Joined: Tue Apr 17, 2007 2:40 pm
Location: Abilene TX

Mint Updates

Postby wam0067 on Fri Sep 14, 2007 11:10 pm

Scorp123:
Thanks for the quick and stern reply. Your concern for my continued employment is appreciated. I was going to try to explain things better, but instead, let me just say that I am not going to be fired for installing mint or taking a PC home for a day. I understand that it would get other people fired though so your warnings are valid. Yes, I am part of IT - Engineering IT (16 years)- not Network IT hence the issue. I have plenty of friends in Network though. They are the ones who suggested the quick workaround of pasting the url links to the update packages into the browser to download them local. This is "doable" since I can go port 80 via browser but there were so many packages that I gave up after downloading just a few of them. I thought there had to be a better way. According to your response - APT on CD is a valid way to go. I will continue to talk to the network group though for a better solution.
wam0067
Level 1
Level 1
 
Posts: 4
Joined: Thu Sep 13, 2007 9:34 am

Postby spidamang on Mon Oct 08, 2007 11:35 pm

Finally found a work around.

I googled around for an ubuntu add on cd to use as a repository and found this My nvidia card was recognized. so the cd was pretty much what I was looking for.

Here's the listof the add on cd contents.
spidamang
Level 1
Level 1
 
Posts: 4
Joined: Mon Sep 03, 2007 10:15 pm

Re: Manually installing packages for an offline pc

Postby allforcarrie on Thu Nov 22, 2007 1:35 am

not having an internet connection recuses linux to practicly a live cd.
User avatar
allforcarrie
Level 2
Level 2
 
Posts: 86
Joined: Tue Apr 17, 2007 2:40 pm
Location: Abilene TX

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Google [Bot], NewToLinuxxx and 26 guests