Results 1 to 2 of 2

Thread: "dpkg -r" vs. "apt-get remove"

  1. #1
    Join Date
    Dec 2008
    Beans
    328
    Distro
    Ubuntu 13.04 Raring Ringtail

    "dpkg -r" vs. "apt-get remove"

    if i install a .deb file with
    Code:
    dpkg -i package.deb
    or by double clicking it, and i want to uninstall it, should i use
    Code:
    dpkg -r package.deb
    or
    Code:
    apt-get remove package
    is there any difference between the these two methods?

    ps. of course there should be a sudo preceding the above commands

  2. #2
    Join Date
    Jan 2009
    Location
    South Carolina
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: "dpkg -r" vs. "apt-get remove"

    Quote Originally Posted by minsf View Post
    if i install a .deb file with
    Code:
    dpkg -i package.deb
    or by double clicking it, and i want to uninstall it, should i use
    Code:
    dpkg -r package.deb
    or
    Code:
    apt-get remove package
    is there any difference between the these two methods?

    ps. of course there should be a sudo preceding the above commands
    I don't think that there is any difference.

Bookmarks

Posting Permissions

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