How to uninstall package plus the packages that were installed with it?

I installed NetworkManager-openvpn-gnome to try and get Private Internet Access working but I couldn’t figure it out so I would like to uninstall this package plus whatever else was installed with it. I don’t remember everything that was installed with it but perhaps there is a way to do it in Yast or with the command line.

thanks

IIRC the command would be

zypper rm -u networkmanager-openvpn-gnome

the -u part, tells zypper to remove the dependencies too.

Thank you for the command. Is it possible that this would remove dependencies that are used by other programs? I’m still trying to understand the package/dependency system and don’t want to break other programs.

Thanks!

in the yast software manager under Extras there is an option to “clean up” when uninstalling applications.
It won’t (or shouldn’t) touch anything still being used by other software.

It wasn’t your question, but if you want some help getting Private Internet Access’s VPN service configured, I’ll be glad to give some pointers.

I’m no expert on networking, but I’ve used their service for over a year now, and I’m currently using it on Leap under Gnome.

Thanks for the tip! Appreciate it.

I would love to take your advice and try to set up PIA. I followed the last posters instructions here: https://www.privateinternetaccess.com/forum/discussion/17426/install-on-opensuse-13-2 and I was actually able to connect but when I checked my ip address on www.ipleak.net it was not working. So there was some disconnect there.

Also, the only way I could connect on each reboot was to start networkmanager as root which was kind of a pain.

Let me know if you need any information from me. I’m using KDE and not gnome so I installed networkmanager-openvpn-gnome as stated above but just uninstalled it.

thanks

Off the cuff I’d say you should be using plasma-nm5 with plasma-nm5-openvpn to configure your VPN under KDE, and definitely not trying to use gnome’s network manager applet.

Uggh… I don’t have a KDE install here to mess with, but it should be as simple as grabbing the zip from PIA and unpacking it somewhere safe and permanent. Then going in through either the network-manager applet in your system tray or KDE’s (not YaSTs) network settings and there should be a function to add a connection. Select VPN and the equivalent of “Import connection” and select the .ovpn file from the folder you saved, for the physical location closest to you (or closest to where you want your IP address to be out of). If it asks you for the location for the .crt file, point it toward that same folder.

Then put in your login and password for PIA. I’ve always used a generated login and pass from the bottom right of PIA’s Client Control Panel, under the field that reads:


PPTP/L2TP/SOCKS Username and Password (Optional) Please use the following button to generate or re-generate a username and password for use with PPTP/L2TP/SOCKS.


I don’t use the login and pass for the PIA site itself.

It should ask you if you want to save the password or some such. Tell it yes, if that’s your desire.

Close your browser. Start the VPN and then open the browser and check your IP address.

I know these are vague instructions… if it doesn’t make sense, hopefully someone else can clarify where I might be making a mistake since I’m not using KDE. Barring that, let me know and I’ll grab a KDE LiveCD and try to walk through it and see if I can get it to work.

Good luck and let us know if it works :slight_smile:

Your instructions worked! I had to change from Wicked which is the default network manager in Yast to Network Manager and then the applet in the bottom right corner of my tray immediately appeared and I was able to configure the connection. There was no applet showing up when Wicked was used which was confusing me.

Thanks so much for your help Matt!

Awesome!

I’d forgotten that Wicked is the default these days, doh… I’ll have to remember that if this comes up again :smiley:

Glad you got it working!

i haven’t used PrivatVPN for a couple years, but when I did I simply followed the standard instructions offered when you login with your account (I didn’t follow any special instructions in the Forums).

I highly recommend you follow the official instructions before you look at any Community resources.

Since PrivatVPN is primarily OpenVPN, you should install and use OpenVPN from the OSS repo. PPTP is supposed to be used only by mobile devices which might not have OpenVPN libraries.

TSU

That’s a really good point.

The way I detailed will definitely use OpenVPN to configure the connection on the user’s end, but by using credentials generated to be used for PPTP/SOCKS etc, I really don’t know what it’s doing on the far end of the connection.

I suspect it’s perfectly fine and my IP address always checked out as valid for the gateway I’m using, but I don’t really know what’s going on. Better safe than sorry, I changed back to using my original login and password. Everything still works fine, FWIW. I’m not even sure why I started using that generated login/pass combo to begin with.

Thanks for the input!