1

Can someone please explain how to search for an application within the shell when apt-get doesn't work. I am currently in a situation where I cannot find the package I want, but now I am stuck with what to do.

$ sudo apt-get install teamspeak-client 
Reading package lists... Done
Building dependency tree        
Reading state information... Done 
E: Unable to locate package teamspeak-client

Can someone also explain how to copy large blocks of shell commands into this editor and make it format properly. I'm not indenting every line of commands by 4 spaces every time.

Pandya
  • 37,289
john smith
  • 3,161

2 Answers2

2

Searching teamspeak in the repositories with apt-cache search teamspeak reveals that indeed, teamspeak cannot be found, hence not available for download in Ubuntu repositories, but you can download it from official teamspeak website: http://www.teamspeak.com/?page=downloads

If you have AMD cpu, select amd package. For others - Client X86.

You will be prompted to download a .run file, which is somewhat equivalent of .exe file in windows. Once it's done, open terminal, make the file executable with sudo chmod +x filename.run , and then ./filename.run to launch the installation

1

Sure, this can be a lifesaver. To search using apt-get:

sudo apt-cache search teamspeak

To narrow the results, use grep like so:

sudo apt-cache search teamspeak | grep team

Unfortunately, it doesn't look like it's available through apt-get but you can easily install it; see my teamspeak installation answer here. The instructions are for a 32bit (i386) but to install the 64bit version you just have to download the other package available here.

mchid
  • 44,904
  • 8
  • 102
  • 162