User avatar
some_evil
Posts: 205
Joined: Thu Dec 18, 2014 3:16 am
Location: Albury, Australia

Can I install TightVNCServer without internet access?

Thu Jan 08, 2015 9:42 pm

Hi All,

I am reading plenty of tutorials on setting up a connection between my Pi and my PC and I have successfully been able to connect using PuTTy software, but now I am wanting to install TightVNCServer but the problem is that I currently have no internet access at home, so my Pi is unable to automatically download and install using the command:
sudo apt-get install tightvncserver

is there a way I can download the files off site, and then install manually using a thumb drive etc?

Thanks for your time.
PiZeroW - May 2017
Pi 3 - Oct 2016
PiZero - June 2016
Pi 2 - Jan 2016
Pi B+ - Dec 25 2014

vtpi
Posts: 20
Joined: Thu Jan 08, 2015 10:36 pm

Re: Can I install TightVNCServer without internet access?

Fri Jan 09, 2015 12:07 am

You should be able to download a .deb of the each of the programs you need to install onto any readable media. Then add that media as a repository to be searched by apt. Then update apt, and it will find the programs on your media. Then install.

Caveat: I haven't done this in many years (whole repositories used to be distributed on CDs back then), but it should still work. Hope that helps!

User avatar
some_evil
Posts: 205
Joined: Thu Dec 18, 2014 3:16 am
Location: Albury, Australia

Re: Can I install TightVNCServer without internet access?

Fri Jan 09, 2015 1:04 am

HI Vtpi,

thanks very much for the lead on how I can go about this.

I have done a search and think that the source for this file could be this page - https://packages.debian.org/sid/tightvncserver

Then that page linked me to here - https://packages.debian.org/source/sid/tightvnc

I believe down the bottom of this second page there are 3 download files, and I assume (please correct me if I am wrong) that I will only need the largest file - Tightvnc_1.3.9.orig.tar.gz (2,194.0 kB)

After downloading, could someone please elaborate on what needs doing? (I am very green behind the ears with using the Pi, so these questions will be very basic to most im sure)

I extract the downloaded .gz file to a thumb drive, insert into the Pi, boot it up, in command line I do something like
sudo apt update (???)

then what would be the next part to install once it finds the new program?

Thanks again everyone.
PiZeroW - May 2017
Pi 3 - Oct 2016
PiZero - June 2016
Pi 2 - Jan 2016
Pi B+ - Dec 25 2014

fruitoftheloom
Posts: 23132
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Can I install TightVNCServer without internet access?

Fri Jan 09, 2015 7:32 am

some_evil wrote:HI Vtpi,

thanks very much for the lead on how I can go about this.

I have done a search and think that the source for this file could be this page - https://packages.debian.org/sid/tightvncserver

Then that page linked me to here - https://packages.debian.org/source/sid/tightvnc

I believe down the bottom of this second page there are 3 download files, and I assume (please correct me if I am wrong) that I will only need the largest file - Tightvnc_1.3.9.orig.tar.gz (2,194.0 kB)

After downloading, could someone please elaborate on what needs doing? (I am very green behind the ears with using the Pi, so these questions will be very basic to most im sure)

I extract the downloaded .gz file to a thumb drive, insert into the Pi, boot it up, in command line I do something like
sudo apt update (???)

then what would be the next part to install once it finds the new program?

Thanks again everyone.
'tightvnc_1.3.9.orig.tar.gz' is a source package, it is not installed via apt-get, the instructions should be included if you unpack the tar.gz file

The downside from building from source is you may have unmet dependencies, which could mean finding other software to install............
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

vtpi
Posts: 20
Joined: Thu Jan 08, 2015 10:36 pm

Re: Can I install TightVNCServer without internet access?

Fri Jan 09, 2015 8:57 pm

Correct, you need a .deb type file of tightvncserver for the Pi. You would get that from the same place (repository) online that apt would get it from.

Apt has a list of Pi suitable repositories already configured into it. Find those, and then navigate to the address of the repository online and find your .deb. Then just download it.

If you haven't got this figured out in a bit, I'll look for it this evening and post a link to it. My Pi isn't up at the moment.

User avatar
some_evil
Posts: 205
Joined: Thu Dec 18, 2014 3:16 am
Location: Albury, Australia

Re: Can I install TightVNCServer without internet access?

Fri Jan 09, 2015 9:58 pm

I am feeling pretty dumb, I still can't find a copy of tightvnc with extension of deb...
PiZeroW - May 2017
Pi 3 - Oct 2016
PiZero - June 2016
Pi 2 - Jan 2016
Pi B+ - Dec 25 2014

vtpi
Posts: 20
Joined: Thu Jan 08, 2015 10:36 pm

Re: Can I install TightVNCServer without internet access?

Fri Jan 09, 2015 10:10 pm

I believe this is it.
http://mirrordirector.raspbian.org/rasp ... /tightvnc/

This stuff is designed to be automatically loaded, and isn't manual download friendly. You're not dumb.


btw. there's a VNC vewer in this folder as well.

After you've downloaded your file, you might go upwards exploring the directories to get a feel for how things are arranged. You are in the T section (for tight....) of the main pool of programs, etc.

vtpi
Posts: 20
Joined: Thu Jan 08, 2015 10:36 pm

Re: Can I install TightVNCServer without internet access?

Fri Jan 09, 2015 10:42 pm

Also, I'm too new with the Pi UI to know whether you can just automatically load a .deb by clicking on the file as root, or if you have to go through sudo apt-get install and specify its location. Or if you have to do that plus include its location in the list of repositories that apt maintains (in /etc/apt/sources.lst).

Someone else here will know. Hopefully the UI is smart enough to allow you to just click and load.

Return to “Beginners”