LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-20-2011, 09:42 AM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
Changing Ubuntu 10.10 default package installer


I am using Ubuntu 10.10. I have a situation to where I need to use synaptic package instead of Ubuntu Software Center. How do I change the default *deb package manager from "Ubuntu Software Center" to "Synaptic Package Manager". I have users that are not to cli savvy so I need them to be able to do this in the GUI. I have clients that are having trouble installing a package that hangs because of the installation agreement(terminal window) that has to be answered but because the terminal window is not being displayed, it cannot be viewed it just hangs so I want them to use synaptic manager. thanks

Last edited by metallica1973; 01-20-2011 at 10:48 AM.
 
Old 01-20-2011, 10:40 AM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
I'm afraid I haven't heard of way of doing this, nor found anything on Google.

What exactly is the reason you can't use Ubuntu Software Center? And I don't think Ubuntu Software Center opens when you double-click a .deb, I'm pretty sure it's GDebi package installer. Alternatively, have you tried
Code:
dpkg -i file.deb
?
 
Old 01-20-2011, 10:48 AM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,148
Blog Entries: 21

Rep: Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483
I may be way off base here. But can't they install synaptic package manager in Ubuntu 10.10 (I don't run it) and make a launcher in taskbar or desktop and run it from there.
 
Old 01-20-2011, 10:20 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Ubuntu 10.10 has Synaptic
under System>Adminitration Tab
 
Old 01-21-2011, 12:44 AM   #5
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
You do realize that Ubuntu Software Center already *is* easier to use than Synaptic? You have the descriptive package names to deal with, not the cryptic names of the package files.

Also, you don't have to click "Apply" to install packages in the Software Center; they automatically install.

Which makes me assume that the reason you need Synaptic is to install hundreds of packages at once. This makes sense, but Synaptic can still be found under System -> Admin. If it is necessary, a launcher on the top panel or on the desktop will provide easy access.

Just right-click the desktop, click "New launcher", type the launcher name "Synaptic Package Manager", and type gksudo /usr/sbin/synaptic for the command.
 
Old 01-21-2011, 10:03 AM   #6
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
Many thanks for all the replies. Everyone is way off the target, let me explain a little better:

- We have developed a software package that is designed to use the default package installer "synaptic package manager" on Ubuntu 10.04. We have various packages for basically all flavors of Unix and Linux. If you do a tar.gz install then the first thing that is seen by the user is the "license agreement" and you answer "yes" and proceed with the installation. The most common method of installing this package for linux users that are nott "CLI" savvy is by using the DEB package that we have and using the default package installer of the past "synaptic package manager". In Ubuntu 10.10 they switched it to "Ubuntu Software Center". The problem with this is that is doesnt display the terminal windows like "synaptic package manager" does and therefor just hangs (license agreement) when the users choose this method. help?

Last edited by metallica1973; 01-21-2011 at 10:06 AM.
 
Old 01-21-2011, 10:21 AM   #7
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Could you, instead of providing a .deb file, provide a .sh file (probably in a .tar.bz2 archive with the other installation files in it) which does the installation for them in the terminal? That way you have a terminal open already to display your license agreement.
 
Old 01-21-2011, 11:14 AM   #8
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
thanks again,

they are pretty much set on keeping the packages the way that they are. I will look into that and suggest it to the developer group. They do not like much change. I was hoping for some switch or option that I can use with "Ubuntu Software Center". This is a pretty stupid question for I always just use a deb or tar install of packages but here it goes. This may work as well.

1 - How can I install DEB package via synaptic manager through the GUI if I download a package to lets say"~/Downloads/package.deb"

this would be a via alternative solution for these GUI users. thanks
 
Old 01-21-2011, 07:09 PM   #9
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
How come you can't upload the standalone .deb to a PPA (Personal Package Archive) that you can create on Launchpad? There should be an option to create the PPA from your Launchpad profile. From there, just create an RSA encryption key and then upload the packages with dput.

This way, when the packages are uploaded, all users have to do is add the PPA to their Software Sources, access the PPA from the "Get Software" menu in the Software Center, and install the package from it.

Last edited by Kenny_Strawn; 01-21-2011 at 07:11 PM.
 
Old 01-21-2011, 07:19 PM   #10
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Besides, Synaptic has absolutely no option to install standalone .deb files. That was GDebi before the Software Center replaced it in Ubuntu 10.10 both in functionality and as a default app.
 
Old 01-24-2011, 12:06 PM   #11
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
thanks again for the response,

though many of our customers are savvy security engineers, you would be surprised at how many people with CISSP's and other certs under their belt really don't have a clue on driving linux. Many are Windows "GUI" pilots and need to have this install as easy as possible. I will just have to talk to the developers and include these suggestions and see what can be done. I guess Ubuntu default package manager from here on out will be "Software Center"
 
Old 01-25-2011, 09:55 AM   #12
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
I find it rather inconceivable that no-one has ever needed to ask for user input during installation of a .deb file. So talking to the developers will achieve little, I feel. What is the code you are using to display the license agreement? As I presume you know, there's a preinst script run before you install the package - are you opening a terminal to ask questions, or are you trying to use "echo" statements in the preinst script?
 
Old 01-26-2011, 08:17 AM   #13
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
When we use Xubuntu 10.10 the default package installer is," gdebi-gtk" and there is a terminal window that appears so you can accept the license agreement. I will take a look at the *.deb package and get back to here shortly.
 
Old 01-26-2011, 09:21 AM   #14
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
When we use Xubuntu 10.10 the default package installer is," gdebi-gtk" and there is a terminal window that appears so you can accept the license agreement. I will take a look at the *.deb package and get back to here shortly.
I'm not sure if we're talking about the same thing, but a terminal opens when MySQL is installed through synaptic
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adept package installer not working if not launched by package manager iqbala Ubuntu 3 11-29-2008 06:32 AM
Changing default boot OS back to Ubuntu without being able to boot Ubuntu revenge02 Linux - Newbie 5 04-16-2007 08:37 PM
binary package of gtk mplayer (default in ubuntu) fakie_flip Linux - Software 3 09-09-2006 09:23 AM
Changing default Web browser in Ubuntu? VerniciousQnid Ubuntu 3 07-18-2006 09:23 AM
(K)Ubuntu installer failing to load installer components from CD. slackyoda Ubuntu 5 07-20-2005 03:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration