Results 1 to 8 of 8

Thread: how to startup applications from konsole

  1. #1
    Just burned his ISO
    Join Date
    Feb 2010
    Posts
    9

    Question how to startup applications from konsole

    hi, i have downloaded C++ Interfaces for GTK+ and GNOME by this
    apt-get install libgtkmm-2.4-dev
    after it finished it didn't show up in the "k menu", so i was wondering is there a command that i can type in the terminal to start it up?? or even a general term for any other application that doesn't show up in the "k menu" to start them up?
    thanks in advanced.

  2. #2
    Just burned his ISO
    Join Date
    Feb 2010
    Posts
    18

    Wink

    you can try man -k "k menu" or the any thing that you are looking i think this may help

  3. #3
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default

    Quote Originally Posted by vin_akleh View Post
    hi, i have downloaded C++ Interfaces for GTK+ and GNOME by this after it finished it didn't show up in the "k menu", so i was wondering is there a command that i can type in the terminal to start it up?? or even a general term for any other application that doesn't show up in the "k menu" to start them up?
    thanks in advanced.
    The BT4 How-To and tutorial section is not for asking questions.
    Post in the correct section.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  4. #4
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    those are only libraries and not excecutables.

    Code:
    root@bt:~# apt-get install libgtkmm-2.4-dev 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
      debhelper html2text libatk1.0-dev libcairo2-dev libcairomm-1.0-dev libglibmm-2.4-dev libgtk2.0-dev libpango1.0-dev libpangomm-1.4-dev
      libpixman-1-dev libsigc++-2.0-dev libxcb-render-util0-dev libxcb-render0-dev libxcomposite-dev libxdamage-dev libxml2-utils x11proto-composite-dev
      x11proto-damage-dev
    Suggested packages:
      dh-make libcairo2-doc libcairomm-1.0-doc libglibmm-2.4-doc libgtk2.0-doc libgtkmm-2.4-doc libpango1.0-doc libsigc++-2.0-doc
    The following NEW packages will be installed:
      debhelper html2text libatk1.0-dev libcairo2-dev libcairomm-1.0-dev libglibmm-2.4-dev libgtk2.0-dev libgtkmm-2.4-dev libpango1.0-dev
      libpangomm-1.4-dev libpixman-1-dev libsigc++-2.0-dev libxcb-render-util0-dev libxcb-render0-dev libxcomposite-dev libxdamage-dev libxml2-utils
      x11proto-composite-dev x11proto-damage-dev
    0 upgraded, 19 newly installed, 0 to remove and 19 not upgraded.
    Need to get 7484kB of archives.
    After this operation, 32.8MB of additional disk space will be used.
    Do you want to continue [Y/n]? 
    Get:1 http://archive.offensive-security.com pwnsauce/main x11proto-composite-dev 1:0.4-2 [12.4kB]
    Get:2 http://archive.offensive-security.com pwnsauce/main libxcomposite-dev 1:0.4.0-3 [14.6kB]
    Get:3 http://archive.offensive-security.com pwnsauce/main x11proto-damage-dev 1:1.1.0-2build1 [9292B]
    Get:4 http://archive.offensive-security.com pwnsauce/main libxdamage-dev 1:1.1.1-4 [9856B]
    Get:5 http://archive.offensive-security.com pwnsauce/main html2text 1.3.2a-5 [91.9kB]
    Get:6 http://archive.offensive-security.com pwnsauce/main debhelper 7.0.13ubuntu1 [555kB]
    Get:7 http://archive.offensive-security.com pwnsauce/main libatk1.0-dev 1.24.0-0ubuntu1 [76.3kB]
    Get:8 http://archive.offensive-security.com pwnsauce/main libpixman-1-dev 0.12.0-1 [132kB]
    Get:9 http://archive.offensive-security.com pwnsauce/main libxcb-render0-dev 1.1-1.1 [28.4kB]
    Get:10 http://archive.offensive-security.com pwnsauce/main libxcb-render-util0-dev 0.2+git36-1 [7170B]
    Get:11 http://archive.offensive-security.com pwnsauce/main libcairo2-dev 1.8.0-0ubuntu1.1 [509kB]
    Get:12 http://archive.offensive-security.com pwnsauce/main libcairomm-1.0-dev 1.6.4-1 [60.1kB]
    Get:13 http://archive.offensive-security.com pwnsauce/main libsigc++-2.0-dev 2.0.18-2 [141kB]
    Get:14 http://archive.offensive-security.com pwnsauce/main libglibmm-2.4-dev 2.18.1-1 [497kB]
    Get:15 http://archive.offensive-security.com pwnsauce/main libpango1.0-dev 1.22.2-0ubuntu1.1 [362kB]
    Get:16 http://archive.offensive-security.com pwnsauce/main libgtk2.0-dev 2.14.4-0ubuntu1 [2859kB]
    Get:17 http://archive.offensive-security.com pwnsauce/main libpangomm-1.4-dev 2.14.0-1 [51.0kB]
    Get:18 http://archive.offensive-security.com pwnsauce/main libgtkmm-2.4-dev 1:2.14.1-0ubuntu1 [2035kB]
    Get:19 http://archive.offensive-security.com pwnsauce/main libxml2-utils 2.6.32.dfsg-4ubuntu1.1 [33.9kB]
    Fetched 7484kB in 5s (1270kB/s)   
    Selecting previously deselected package x11proto-composite-dev.
    (Reading database ... 224742 files and directories currently installed.)
    Unpacking x11proto-composite-dev (from .../x11proto-composite-dev_1%3a0.4-2_all.deb) ...
    Selecting previously deselected package libxcomposite-dev.
    Unpacking libxcomposite-dev (from .../libxcomposite-dev_1%3a0.4.0-3_i386.deb) ...
    Selecting previously deselected package x11proto-damage-dev.
    Unpacking x11proto-damage-dev (from .../x11proto-damage-dev_1%3a1.1.0-2build1_all.deb) ...
    Selecting previously deselected package libxdamage-dev.
    Unpacking libxdamage-dev (from .../libxdamage-dev_1%3a1.1.1-4_i386.deb) ...
    Selecting previously deselected package html2text.
    Unpacking html2text (from .../html2text_1.3.2a-5_i386.deb) ...
    Selecting previously deselected package debhelper.
    Unpacking debhelper (from .../debhelper_7.0.13ubuntu1_all.deb) ...
    Selecting previously deselected package libatk1.0-dev.
    Unpacking libatk1.0-dev (from .../libatk1.0-dev_1.24.0-0ubuntu1_i386.deb) ...
    Selecting previously deselected package libpixman-1-dev.
    Unpacking libpixman-1-dev (from .../libpixman-1-dev_0.12.0-1_i386.deb) ...
    Selecting previously deselected package libxcb-render0-dev.
    Unpacking libxcb-render0-dev (from .../libxcb-render0-dev_1.1-1.1_i386.deb) ...
    Selecting previously deselected package libxcb-render-util0-dev.
    Unpacking libxcb-render-util0-dev (from .../libxcb-render-util0-dev_0.2+git36-1_i386.deb) ...
    Selecting previously deselected package libcairo2-dev.
    Unpacking libcairo2-dev (from .../libcairo2-dev_1.8.0-0ubuntu1.1_i386.deb) ...
    Selecting previously deselected package libcairomm-1.0-dev.
    Unpacking libcairomm-1.0-dev (from .../libcairomm-1.0-dev_1.6.4-1_i386.deb) ...
    Selecting previously deselected package libsigc++-2.0-dev.
    Unpacking libsigc++-2.0-dev (from .../libsigc++-2.0-dev_2.0.18-2_i386.deb) ...
    Selecting previously deselected package libglibmm-2.4-dev.
    Unpacking libglibmm-2.4-dev (from .../libglibmm-2.4-dev_2.18.1-1_i386.deb) ...
    Selecting previously deselected package libpango1.0-dev.
    Unpacking libpango1.0-dev (from .../libpango1.0-dev_1.22.2-0ubuntu1.1_i386.deb) ...
    Selecting previously deselected package libgtk2.0-dev.
    Unpacking libgtk2.0-dev (from .../libgtk2.0-dev_2.14.4-0ubuntu1_i386.deb) ...
    Selecting previously deselected package libpangomm-1.4-dev.
    Unpacking libpangomm-1.4-dev (from .../libpangomm-1.4-dev_2.14.0-1_i386.deb) ...
    Selecting previously deselected package libgtkmm-2.4-dev.
    Unpacking libgtkmm-2.4-dev (from .../libgtkmm-2.4-dev_1%3a2.14.1-0ubuntu1_i386.deb) ...
    Selecting previously deselected package libxml2-utils.
    Unpacking libxml2-utils (from .../libxml2-utils_2.6.32.dfsg-4ubuntu1.1_i386.deb) ...
    Processing triggers for man-db ...
    Setting up x11proto-composite-dev (1:0.4-2) ...
    Setting up libxcomposite-dev (1:0.4.0-3) ...
    Setting up x11proto-damage-dev (1:1.1.0-2build1) ...
    Setting up libxdamage-dev (1:1.1.1-4) ...
    Setting up html2text (1.3.2a-5) ...
    
    Setting up debhelper (7.0.13ubuntu1) ...
    Setting up libatk1.0-dev (1.24.0-0ubuntu1) ...
    Setting up libpixman-1-dev (0.12.0-1) ...
    Setting up libxcb-render0-dev (1.1-1.1) ...
    Setting up libxcb-render-util0-dev (0.2+git36-1) ...
    Setting up libcairo2-dev (1.8.0-0ubuntu1.1) ...
    Setting up libcairomm-1.0-dev (1.6.4-1) ...
    Setting up libsigc++-2.0-dev (2.0.18-2) ...
    Setting up libglibmm-2.4-dev (2.18.1-1) ...
    Setting up libpango1.0-dev (1.22.2-0ubuntu1.1) ...
    Setting up libgtk2.0-dev (2.14.4-0ubuntu1) ...
    Setting up libpangomm-1.4-dev (2.14.0-1) ...
    Setting up libgtkmm-2.4-dev (1:2.14.1-0ubuntu1) ...
    Setting up libxml2-utils (2.6.32.dfsg-4ubuntu1.1) ...
    root@bt:~# find / -name libgtkmm*
    /var/lib/dpkg/info/libgtkmm-2.4-1c2a.postinst
    /var/lib/dpkg/info/libgtkmm-2.4-1c2a.md5sums
    /var/lib/dpkg/info/libgtkmm-2.4-1c2a.postrm
    /var/lib/dpkg/info/libgtkmm-2.4-dev.list
    /var/lib/dpkg/info/libgtkmm-2.4-dev.md5sums
    /var/lib/dpkg/info/libgtkmm-2.4-1c2a.list
    /var/lib/dpkg/info/libgtkmm-2.4-1c2a.shlibs
    /var/cache/apt/archives/libgtkmm-2.4-dev_1%3a2.14.1-0ubuntu1_i386.deb
    /pentest/re/evansdebugger/symbols/libgtkmm-2.4.so.1.0.30.map
    /pentest/re/evansdebugger/symbols/libgtkmm-2.4.so.1.map
    /usr/lib/libgtkmm-2.4.so
    /usr/lib/libgtkmm-2.4.so.1.0.30
    /usr/lib/libgtkmm-2.4.la
    /usr/lib/libgtkmm-2.4.so.1
    /usr/lib/libgtkmm-2.4.a
    /usr/share/doc/libgtkmm-2.4-dev
    /usr/share/doc/libgtkmm-2.4-1c2a
    root@bt:~# 

  5. #5
    Very good friend of the forum Virchanza's Avatar
    Join Date
    Jan 2010
    Posts
    863

    Default

    By doing "apt-get install libgtkmm-2.4-dev", all you're doing is downloading C++ libraries in the form of header files and source files (or maybe source files already compiled to object files).

    For instance, let's say you've got the source code for a program that uses the GTK+ library. Before you actually install the libraries by doing "apt-get blah blah", you might get the following compiler error:

    Code:
    Error: dinosaur.cpp : Line 8 : #include <crocodile.hpp> : The file cannot be found
    After you install these C++ libraries, such errors will go away because the header files will have been installed.
    Ask questions on the open forums, that way everybody benefits from the solution, and everybody can be corrected when they make mistakes. Don't send me private messages asking questions that should be asked on the open forums, I won't respond. I decline all "Friend Requests".

  6. #6
    Just burned his ISO
    Join Date
    Feb 2010
    Posts
    9

    Default

    this is all good.
    what application do you recommend to download to code c++ applications

  7. #7
    Very good friend of the forum Virchanza's Avatar
    Join Date
    Jan 2010
    Posts
    863

    Default

    Open up "Kate", it's already installed in Backtrack. Go to KDE Menu -> Utilities -> Kate.

    Next write the following in Kate:

    Code:
    #include <iostream>
    
    int main()
    {
        std::cout << "My first program!";
    }
    Save that file as: ~/prog.cpp

    Next open up a terminal and do:

    Code:
    cd
    gcc prog.cpp -o prog
    Then run your program:

    Code:
    ./prog
    Ask questions on the open forums, that way everybody benefits from the solution, and everybody can be corrected when they make mistakes. Don't send me private messages asking questions that should be asked on the open forums, I won't respond. I decline all "Friend Requests".

  8. #8
    Very good friend of the forum Virchanza's Avatar
    Join Date
    Jan 2010
    Posts
    863

    Default

    In my previous post, gcc should be g++.

    I can't edit my posts because I'm going through a proxy server to access the forums (...I've to go through a proxy server because it seems as though my IP address is blocked by the forum server).
    Ask questions on the open forums, that way everybody benefits from the solution, and everybody can be corrected when they make mistakes. Don't send me private messages asking questions that should be asked on the open forums, I won't respond. I decline all "Friend Requests".

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •