Install kate in Ubuntu 16.04


sudo apt update
sudo apt install kate


  Ubuntu 에서 VMs 설치하기



bumnux@cls5:~/Vmware$ wget https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle
--2018-04-12 16:02:09--  https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle
Resolving download3.vmware.com (download3.vmware.com)... 23.212.12.47, 2600:1417:e:286::2ef, 2600:1417:e:288::2ef
접속 download3.vmware.com (download3.vmware.com)|23.212.12.47|:443... 접속됨.
HTTP request sent, awaiting response... 200 OK
Length: 458534208 (437M) [application/x-octet-stream]
Saving to: ‘VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle’

100%[=============================================================================================================================>] 458,534,208 4.15MB/s   in 97s   

2018-04-12 16:03:46 (4.52 MB/s) - ‘VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle’ saved [458534208/458534208]

bumnux@cls5:~/Vmware$ ls
VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle
bumnux@cls5:~/Vmware$ chmod a+x VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle

bumnux@cls5:~/Vmware$ sudo ./VMware-Workstation-Full-14.0.0-6661328.x86_64.bundle
[sudo] password for bumnux:
Extracting VMware Installer...done.

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",

(vmware-installer.py:15524): Gtk-WARNING **: 모듈을 module_path에서 찾을 수 없습니다: "murrine",
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: 동적 오브젝트 파일을 열 수 없습니다: 그런 파일이나 디렉터리가 없습니다
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number



이렇게 하면 VMs 설치 화면이 나온다.

VT-x is disabled in the BIOS. (VERR_VMX_MSR_VMXON_DISABLED).


위와 같은 에러가 날 때 Virtualbox > 설정 > 시스템 > 가속 > 하드웨어 가상화 > VT-x 해제 > Virtualbox 종료 > Virtualbox 시작


하면 에러 없이 Virtualbox 를 다시 시작할 수 있다.

gstreamer 이용한 mp3 play


gst-play-1.0 playbin /home/root/wav/rain.mp3


daemon 으로 동작하는 방법은 아직 모르겠다.

/etc/hostname 에 다음을 추가한다.

127.0.0.1  bumnux


// apache restart

# sudo service apache2 restart


그리고나서 web server 에 http로 접속해 보면 접속이 될 것이다.

git 에 변경된 내용 merge 하기


git add <파일 이름>



git commit -m "이번 확정본에 대한 설명"



git push origin master


#sudo apt-get install xinetd
#sudo apt-get install telnetd
#sudo vi /etc/xinetd.conf
service telnet
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}
#sudo /tec/init.d/xinetd restart


bumnux@cls5:/media/bumnux/DATA/Clabsys/SamsungVR/Minnowboard/RTL8812AU_linux_v4.3.20_16317_20160108/driver$ sudo sysv-rc-conf -h
Usage:
    sysv-rc-conf [ *options* ]

    sysv-rc-conf --list [ *service* ]

    sysv-rc-conf [ --level *levels* ] *service* <*on|off*>

bumnux@bumnux:~$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
--2016-09-24 23:08:36--  https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Resolving dl.google.com (dl.google.com)... 216.58.221.14, 2404:6800:4004:814::200e
접속 dl.google.com (dl.google.com)|216.58.221.14|:443... 접속됨.
HTTP request sent, awaiting response... 200 OK
Length: 50195550 (48M) [application/x-debian-package]
Saving to: ‘google-chrome-stable_current_amd64.deb’

google-chrome-stable_current_amd64.deb   100%[================================================================================>]  47.87M  50.3KB/s    in 15m 29s

2016-09-24 23:24:06 (52.7 KB/s) - ‘google-chrome-stable_current_amd64.deb’ saved [50195550/50195550]

bumnux@bumnux:~$ sudo apt-get install libxss1 libgconf2-4 libappindicator1 libindicator7
[sudo] password for bumnux:
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다      
상태 정보를 읽는 중입니다... 완료
libxss1 is already the newest version (1:1.2.2-1).
libxss1 패키지는 수동설치로 지정합니다.
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
  a11y-profile-manager account-plugin-aim account-plugin-jabber account-plugin-salut account-plugin-yahoo argyll argyll-ref dconf-editor dleyna-renderer empathy
  empathy-common fonts-cantarell geoclue-2.0 gir1.2-geocodeglib-1.0 gir1.2-gmenu-3.0 gir1.2-grilo-0.2 gir1.2-mediaart-2.0 gir1.2-rest-0.7 gir1.2-totem-1.0
  gir1.2-totem-plparser-1.0 gir1.2-tracker-1.0 gir1.2-zpj-0.0 gnome-accessibility-profiles gnome-color-manager gnome-documents gnome-logs gnome-music
  gnome-online-miners gnome-photos gnome-shell-extensions gnome-themes-standard gnome-tweak-tool gnome-weather gnustep-back-common gnustep-back0.24
  gnustep-back0.24-cairo gnustep-base-common gnustep-base-runtime gnustep-common gnustep-gui-common gnustep-gui-runtime gtk2-engines-pixbuf ibus-pinyin itstool
  kde-l10n-engb libamd2.4.1 libavahi-gobject0 libbabl-0.1-0 libblas-common libblas3 libcamd2.4.1 libccolamd2.9.1 libcholmod3.0.6 libclutter-gst-2.0-0
  libgegl-0.3-0 libgeoclue-2-0 libgfbgraph-0.2-0 libgfortran3 libgif7:i386 libgnustep-base1.24 libgnustep-gui0.24 libgsf-bin liblapack3 libleveldb1v5
  libnss-myhostname libobjc4 libopencc1 libp11-kit-gnome-keyring:i386 libpyzy-1.0-0v5 libqdjango-db0 libqgsttools-p1 libqt5multimedia5-plugins
  libqt5multimediaquick-p5 libqt5multimediawidgets5 libqt5positioning5-plugins libtelepathy-farstream3 libthumbnailer-qt1.0 libumfpack5.7.1 libunity-api0
  libusermetricsinput1 libzapojit-0.0-0 linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-headers-4.4.0-34 linux-headers-4.4.0-34-generic
  linux-image-4.4.0-31-generic linux-image-4.4.0-34-generic linux-image-extra-4.4.0-31-generic linux-image-extra-4.4.0-34-generic mcp-account-manager-goa
  mcp-account-manager-uoa mknfonts.tool numix-gtk-theme ppa-purge python-libxml2 python-xdg qml-module-qtmultimedia qml-module-qtpositioning
  qml-module-ubuntu-thumbnailer0.1 qtdeclarative5-ubuntu-thumbnailer0.1 qtdeclarative5-ubuntu-ui-extras0.2 qtdeclarative5-usermetrics0.1
  qtdeclarative5-window-plugin rhythmbox-plugin-magnatune sqlite3 telepathy-gabble telepathy-idle telepathy-logger telepathy-salut thumbnailer-service
  ubuntu-gnome-default-settings ubuntu-gnome-wallpapers ubuntu-gnome-wallpapers-xenial unoconv usermetricsservice wine-gecko2.21 wine-gecko2.21:i386
  wine-mono0.0.8 xserver-xorg-legacy yelp-tools zsync
Use 'sudo apt autoremove' to remove them.
다음 새 패키지를 설치할 것입니다:
  libappindicator1 libgconf2-4 libindicator7
0개 업그레이드, 3개 새로 설치, 0개 제거 및 0개 업그레이드 안 함.
42.8 k바이트 아카이브를 받아야 합니다.
이 작업 후 557 k바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까? [Y/n] y
받기:1 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 libindicator7 amd64 12.10.2+16.04.20151208-0ubuntu1 [21.9 kB]
받기:2 http://kr.archive.ubuntu.com/ubuntu xenial/main amd64 libappindicator1 amd64 12.10.1+15.04.20141110-0ubuntu1 [18.8 kB]
받기:3 http://kr.archive.ubuntu.com/ubuntu xenial/universe amd64 libgconf2-4 amd64 3.2.6-3ubuntu6 [2,050 B]
내려받기 42.8 k바이트, 소요시간 1초 (33.9 k바이트/초)
Selecting previously unselected package libindicator7.
(데이터베이스 읽는중 ...현재 349731개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../libindicator7_12.10.2+16.04.20151208-0ubuntu1_amd64.deb ...
Unpacking libindicator7 (12.10.2+16.04.20151208-0ubuntu1) ...
Selecting previously unselected package libappindicator1.
Preparing to unpack .../libappindicator1_12.10.1+15.04.20141110-0ubuntu1_amd64.deb ...
Unpacking libappindicator1 (12.10.1+15.04.20141110-0ubuntu1) ...
Selecting previously unselected package libgconf2-4:amd64.
Preparing to unpack .../libgconf2-4_3.2.6-3ubuntu6_amd64.deb ...
Unpacking libgconf2-4:amd64 (3.2.6-3ubuntu6) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
libindicator7 (12.10.2+16.04.20151208-0ubuntu1) 설정하는 중입니다 ...
libappindicator1 (12.10.1+15.04.20141110-0ubuntu1) 설정하는 중입니다 ...
libgconf2-4:amd64 (3.2.6-3ubuntu6) 설정하는 중입니다 ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
bumnux@bumnux:~$  sudo dpkg -i google-chrome-stable_current_amd64.deb
Selecting previously unselected package google-chrome-stable.
(데이터베이스 읽는중 ...현재 349749개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (53.0.2785.116-1) ...
google-chrome-stable (53.0.2785.116-1) 설정하는 중입니다 ...
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/google-chrome (google-chrome) in auto mode
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...

git 관련 내용이 아주 잘 정리되어 있는 곳.


https://git-scm.com/book/ko/v2/

sudo add-apt-repository ppa:openjdk-r/ppa  
sudo apt-get update   
sudo apt-get install openjdk-7-jdk  


unsupported reloc 43

prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/include/c++/4.6/bits/basic_string.h:270: error: unsupported reloc 43
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/include/c++/4.6/bits/basic_string.h:270: error: unsupported reloc 43
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/include/c++/4.6/bits/basic_string.h:235: error: unsupported reloc 43
prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/include/c++/4.6/bits/basic_string.h:235: error: unsupported reloc 43
libnativehelper/JNIHelp.cpp:310: error: unsupported reloc 43
libnativehelper/JNIHelp.cpp:311: error: unsupported reloc 43
libnativehelper/JNIHelp.cpp:332: error: unsupported reloc 43
libnativehelper/JNIHelp.cpp:322: error: unsupported reloc 43
libnativehelper/JNIHelp.cpp:338: error: unsupported reloc 43
...
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_shared_library_internal.mk:44: recipe for target 'out/host/linux-x86/obj32/lib/libnativehelper.so' failed
make: *** [out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1 

The older prebuilt toolchain have some problems with newer version of ‘as’ in the native environment.
This error will show up when your environment is Ubuntu 16.04 and AOSP before May 7, 2106.
To solve this problem:

  • Modify build/core/clang/HOST_x86_common.mk
diff --git a/core/clang/HOST_x86_common.mk b/core/clang/HOST_x86_common.mk
index 0241cb6..77547b7 100644
--- a/core/clang/HOST_x86_common.mk
+++ b/core/clang/HOST_x86_common.mk
@@ -8,6 +8,7 @@ ifeq ($(HOST_OS),linux)
 CLANG_CONFIG_x86_LINUX_HOST_EXTRA_ASFLAGS := \
   --gcc-toolchain=$($(clang_2nd_arch_prefix)HOST_TOOLCHAIN_FOR_CLANG) \
   --sysroot=$($(clang_2nd_arch_prefix)HOST_TOOLCHAIN_FOR_CLANG)/sysroot \
+  -B$($(clang_2nd_arch_prefix)HOST_TOOLCHAIN_FOR_CLANG)/x86_64-linux/bin \
   -no-integrated-as
 
 CLANG_CONFIG_x86_LINUX_HOST_EXTRA_CFLAGS := \  


VirtualBox 에서 UID가 겹칠때..


VBoxManage: error: Cannot register the hard disk 'disk.vdi' {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} because a hard disk 'disk.vdi' with UUID {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} already exists



# vboxmanage  internalcommands  sethduuid  /media/lee/DATA/VirtualBox\ VMs/NM400_14.04/NM400_14.04_1-disk1_2.vmdk

ubuntu14.04 에서 Vitrualbox 를 설치하려는데 아래와 같은 에러로 한참 고생을 했다.

Memory 를 3Gbyte 이상으로 설정하면 되는 것을 가지고 이렇게 고생을 하다니...

암튼 며칠 고민한 내용이 해결되어서 다행이다..


VT-x is disabled in the BIOS for both all CPU modes > (VERR_VMX_MSR_ALL_VMX_DISABLED).


해결책..

You are trying to allocate >3GB of RAM to the VM. This requires: (a) a 64 bit host system; and (b) true hardware pass-through ie VT-x.

### teamviewer 자동실행


.bashrc 파일 맨 마지막에 아래 내용을 추가해 준다.

# vi ~/.bashrc
/opt/teamviewer9/tv_bin/TeamViewer &


하지만,

그렇게 하면 리부팅 이후에 터미널을 실행해야만 teamviewer이 실행된다.

왜 그런지는 모르겠다.

그래서 다른 방법이 없을까 하며 살펴 보다가 프로그램 내에서 해답을 찾았다.

Extras >> Options >> General  에서

Start TeamViewer with system 을 선택해주면 된다.

정말 간단한 것을....

너무 리눅스 개념으로 생각해서 이 방법을 몰랐나 보다.

리눅스도 점차 윈도우의 편리한 점을 찾아 간다는 것을 잊고 있었다. ㅜㅜ

[퍼옴] http://www.2daygeek.com/how-to-install-teamviewer-9-in-ubuntu-14-04/

gdebi 를 설치 후에 teamviewer_linux_x64.deb 파일을 설치하면

lib32asound 에러가 난다.

따라서 사용할 파일은 teamviwer_linux.deb 파일이며 이것을 설치하여야 한다.

1. How to download the teamviewer package ?

Download the package using wget command as shown below.

magesh@magesh-desktop:~$ sudo wget http://www.teamviewer.com/download/teamviewer_linux_x64.deb
[sudo] password for magesh: 
--2014-05-21 18:08:14--  http://www.teamviewer.com/download/teamviewer_linux_x64.deb
Resolving www.teamviewer.com (www.teamviewer.com)... 46.163.100.220
Connecting to www.teamviewer.com (www.teamviewer.com)|46.163.100.220|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://download.teamviewer.com/download/teamviewer_linux_x64.deb [following]
--2014-05-21 18:08:15--  https://download.teamviewer.com/download/teamviewer_linux_x64.deb
Resolving download.teamviewer.com (download.teamviewer.com)... 46.163.100.220
Connecting to download.teamviewer.com (download.teamviewer.com)|46.163.100.220|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloadus1.teamviewer.com/download/teamviewer_linux_x64.deb [following]
--2014-05-21 18:08:15--  https://downloadus1.teamviewer.com/download/teamviewer_linux_x64.deb
Resolving downloadus1.teamviewer.com (downloadus1.teamviewer.com)... 50.23.131.223
Connecting to downloadus1.teamviewer.com (downloadus1.teamviewer.com)|50.23.131.223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22058718 (21M) [application/x-deb]
Saving to: ‘teamviewer_linux_x64.deb’

100%[=====================================================================================================>] 2,20,58,718  751KB/s   in 37s    

2014-05-21 18:08:54 (584 KB/s) - ‘teamviewer_linux_x64.deb’ saved [22058718/22058718]

2. How to install the teamviewer package ?

Teamviewer package got download at /home/magesh/. After downloaded the package, go to the downloaded location and run the below command.

magesh@magesh-desktop:~$ sudo dpkg -i teamviewer_linux_x64.deb
Selecting previously unselected package teamviewer.
(Reading database ... 171926 files and directories currently installed.)
Preparing to unpack teamviewer_linux_x64.deb ...
Unpacking teamviewer (9.0.27891) ...
dpkg: dependency problems prevent configuration of teamviewer:
 teamviewer depends on lib32asound2; however:
  Package lib32asound2 is not installed.
 teamviewer depends on ia32-libs; however:
  Package ia32-libs is not installed.

dpkg: error processing package teamviewer (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 teamviewer

3. How to install the teamviewer package with force option ?

IF you got missing dependencies error on above command, try to run the below command.

magesh@magesh-desktop:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  lib32z1 libc6-i386
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  teamviewer
0 upgraded, 0 newly installed, 1 to remove and 22 not upgraded.
1 not fully installed or removed.
After this operation, 81.9 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 172156 files and directories currently installed.)
Removing teamviewer (9.0.27891) ...

4. installing GDEBI package ?

I have verified in my desktop whether teamviewer got installed or not, It seem’s still its not installed on my ubuntu desktop, why ?

Due to dependency problem its haven’t installed, so i’m going to install the gdebi package (GDebi can install local .deb packages with automatic dependency resolution )

magesh@magesh-desktop:~$ sudo apt-get install gdebi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  lib32z1 libc6-i386
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  gdebi-core gksu libcairo-perl libgksu2-0 libglib-perl libgtk2-perl libpango-perl
Suggested packages:
  libfont-freetype-perl libgtk2-perl-doc
The following NEW packages will be installed:
  gdebi gdebi-core gksu libcairo-perl libgksu2-0 libglib-perl libgtk2-perl libpango-perl
0 upgraded, 8 newly installed, 0 to remove and 22 not upgraded.
Need to get 1,352 kB of archives.
After this operation, 6,030 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main gdebi-core all 0.9.5.3ubuntu1 [9,808 B]
Get:2 http://in.archive.ubuntu.com/ubuntu/ trusty/universe libgksu2-0 amd64 2.0.13~pre1-6ubuntu4 [71.8 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu/ trusty/universe gksu amd64 2.0.2-6ubuntu2 [27.8 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/universe gdebi all 0.9.5.3ubuntu1 [23.4 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu/ trusty/universe libcairo-perl amd64 1.104-1 [114 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu/ trusty/universe libglib-perl amd64 3:1.304-1 [332 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu/ trusty/universe libpango-perl amd64 1.224-2 [220 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu/ trusty/universe libgtk2-perl amd64 2:1.249-2 [553 kB]
Fetched 1,352 kB in 4s (272 kB/s) 
Selecting previously unselected package gdebi-core.
(Reading database ... 171926 files and directories currently installed.)
Preparing to unpack .../gdebi-core_0.9.5.3ubuntu1_all.deb ...
Unpacking gdebi-core (0.9.5.3ubuntu1) ...
Selecting previously unselected package libgksu2-0.
Preparing to unpack .../libgksu2-0_2.0.13~pre1-6ubuntu4_amd64.deb ...
Unpacking libgksu2-0 (2.0.13~pre1-6ubuntu4) ...
Selecting previously unselected package gksu.
Preparing to unpack .../gksu_2.0.2-6ubuntu2_amd64.deb ...
Unpacking gksu (2.0.2-6ubuntu2) ...
Selecting previously unselected package gdebi.
Preparing to unpack .../gdebi_0.9.5.3ubuntu1_all.deb ...
Unpacking gdebi (0.9.5.3ubuntu1) ...
Selecting previously unselected package libcairo-perl.
Preparing to unpack .../libcairo-perl_1.104-1_amd64.deb ...
Unpacking libcairo-perl (1.104-1) ...
Selecting previously unselected package libglib-perl.
Preparing to unpack .../libglib-perl_3%3a1.304-1_amd64.deb ...
Unpacking libglib-perl (3:1.304-1) ...
Selecting previously unselected package libpango-perl.
Preparing to unpack .../libpango-perl_1.224-2_amd64.deb ...
Unpacking libpango-perl (1.224-2) ...
Selecting previously unselected package libgtk2-perl.
Preparing to unpack .../libgtk2-perl_2%3a1.249-2_amd64.deb ...
Unpacking libgtk2-perl (2:1.249-2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for gconf2 (3.2.6-0ubuntu2) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1) ...
Setting up gdebi-core (0.9.5.3ubuntu1) ...
Setting up libgksu2-0 (2.0.13~pre1-6ubuntu4) ...
update-alternatives: using /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo to provide /usr/share/gconf/defaults/10_libgksu (libgksu-gconf-defaults) in auto mode
Setting up libcairo-perl (1.104-1) ...
Setting up libglib-perl (3:1.304-1) ...
Setting up libpango-perl (1.224-2) ...
Setting up libgtk2-perl (2:1.249-2) ...
Processing triggers for gconf2 (3.2.6-0ubuntu2) ...
Setting up gksu (2.0.2-6ubuntu2) ...
Setting up gdebi (0.9.5.3ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...

5. installing teamviewer with gdebi package ?

Now, Again i’m going to install teamviewer using gdebi package.

magesh@magesh-desktop:~$ sudo gdebi teamviewer_linux_x64.deb
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Building data structures... Done 
This package is uninstallable
Dependency is not satisfiable: lib32asound2

6. teamviewer not installed, why ? How i have installed finally, check below steps ?

There is no LUCK at all because still i’m getting Dependency error. why ?

There was some problem on the teamviewer_linux_x64.deb dependencies. On newer 64-bit DEB-systems with Multiarch-support (Ubuntu 12.04 and later) teamviewer_linux_x64.deb cannot be installed because the package ia32-libs is not available anymore on these systems. In this case you can use teamviewer_linux.deb instead. Check the advice from teamviewer official notice

I’m going to download the 32-bit teamviewer package.

magesh@magesh-desktop:~$ sudo wget http://www.teamviewer.com/download/teamviewer_linux.deb
--2014-05-21 18:18:28--  http://www.teamviewer.com/download/teamviewer_linux.deb
Resolving www.teamviewer.com (www.teamviewer.com)... 46.163.100.220
Connecting to www.teamviewer.com (www.teamviewer.com)|46.163.100.220|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://download.teamviewer.com/download/teamviewer_linux.deb [following]
--2014-05-21 18:18:29--  https://download.teamviewer.com/download/teamviewer_linux.deb
Resolving download.teamviewer.com (download.teamviewer.com)... 46.163.100.220
Connecting to download.teamviewer.com (download.teamviewer.com)|46.163.100.220|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloadus1.teamviewer.com/download/teamviewer_linux.deb [following]
--2014-05-21 18:18:29--  https://downloadus1.teamviewer.com/download/teamviewer_linux.deb
Resolving downloadus1.teamviewer.com (downloadus1.teamviewer.com)... 50.23.131.223
Connecting to downloadus1.teamviewer.com (downloadus1.teamviewer.com)|50.23.131.223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22058800 (21M) [application/x-deb]
Saving to: ‘teamviewer_linux.deb’

100%[=====================================================================================================>] 2,20,58,800 2.01MB/s   in 15s    

2014-05-21 18:18:46 (1.40 MB/s) - ‘teamviewer_linux.deb’ saved [22058800/22058800]

Trying to install the package.

magesh@magesh-desktop:~$ sudo gdebi teamviewer_linux.deb
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Building data structures... Done 
Requires the installation of the following packages: libxtst6:i386 

TeamViewer (Remote Control Application)
 TeamViewer is a remote control application. TeamViewer provides easy, fast and secure remote access to Linux, Windows PCs, and Macs.
 .
 TeamViewer is free for personal use. You can use TeamViewer completely free of charge to access your private computers or to help your friends with their computer problems.
 .
 To buy a license for commercial use, please visit http://www.teamviewer.com
Do you want to install the software package? [y/N]:y
Get:1 http://in.archive.ubuntu.com/ubuntu/ trusty/main libxtst6 i386 2:1.2.2-1 [13.8 kB]                                                      
Fetched 13.8 kB in 0s (0 B/s)                                                                                                                 
Selecting previously unselected package libxtst6:i386.
(Reading database ... 172289 files and directories currently installed.)
Preparing to unpack .../libxtst6_2%3a1.2.2-1_i386.deb ...
Unpacking libxtst6:i386 (2:1.2.2-1) ...
Setting up libxtst6:i386 (2:1.2.2-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6) ...
Selecting previously unselected package teamviewer.
(Reading database ... 172291 files and directories currently installed.)
Preparing to unpack teamviewer_linux.deb ...
Unpacking teamviewer (9.0.27891) ...
Setting up teamviewer (9.0.27891) ...
magesh@magesh-desktop:~$ 

Now, its successfully installed.You can navigate your teamviewer package, by clicking Search your computer and online sources icon from topmost left on your PC and type teamviewer then click the teamviewer icon to lunch the App.
how-to-install-teamviewer-9-in-ubuntu-14-04
That’s it.

+ Recent posts