Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • Shell Scripting
  • Kali Linux
  • Ubuntu
  • Red Hat
  • CentOS
  • Docker in Linux
  • Kubernetes in Linux
  • Linux interview question
  • Python
  • R
  • Java
  • C
  • C++
  • JavaScript
  • DSA
Open In App
Next Article:
How to Embed PDF file using HTML ?
Next article icon

How to edit PDF files using PDFedit In Linux?

Last Updated : 21 Aug, 2023
Comments
Improve
Suggest changes
Like Article
Like
Report

PDF (Portable Document Format) files are widely used for sharing documents due to their platform independence and consistent formatting. While PDF files are known for their static nature, there are occasions when you may need to make edits or modifications to the content. Fortunately, Linux offers various tools to help you edit PDF files, and one such tool is PDFedit.

PDFedit is an open-source PDF editing application specifically designed for Linux systems. It provides a range of features to manipulate PDF files, allowing you to modify text, add images, annotate, and more. In this article, we will guide you through the process of using PDFedit to edit PDF files in Linux.

Install PDFedit on Linux System

Let us see, how to install PDFedit in Linux System:

Before you can begin editing PDF files with PDFedit, you'll need to install it on your Linux system. The installation process may vary depending on your Linux distribution, but you can generally install it using the package manager.

For Debian-based distributions

Such as Ubuntu, We can use the following command in the terminal:

sudo apt-get install pdfedit

For Fedora, RedHat and CentOS

We can use the following command:

sudo dnf install pdfedit

Once you have PDFedit installed on your Linux system, follow these steps to edit your PDF files:

Step 1: Launch PDFedit

Open a terminal and type the following command to start the PDFedit application:

pdfedit
pdfedit-hs
Home-Page

Step 2: Open the PDF File

In the PDFedit application, go to "File" and select "Open" to browse for the PDF file you want to edit. Select the file and click "Open".

pdfedit_File
Select PDF File for Editing

Step 3: Select the Editing Mode

PDFedit offers different editing modes, including Text, Image, and Object. Choose the mode according to the type of edit you want to perform.

  • Text Mode: Use this mode to modify or delete existing text in the PDF file. Click on the text you want to edit and make the necessary changes.
  • Image Mode: This mode allows you to add, delete, or modify images within the PDF file. Select the image you want to edit and perform the desired actions.
  • Object Mode: With object mode, you can manipulate graphical objects, such as lines, shapes, and annotations. Select the object you want to edit and apply the desired modifications.
pdfedit_3
Before Editing PDF file
pdfedit_redit
After Editing PDF File (A to Any)

Step 4: Save the Edited PDF

Once you have made the necessary edits, go to "File" and select "Save" to save the changes to the PDF file. Alternatively, you can choose "Save As" to save the edited file under a different name or location.

Additional Tips for Using PDFedit:

  • Undo/Redo: PDFedit provides undo and redo options, allowing you to revert or reapply your changes. You can find these options under the "Edit" menu.
  • Zoom and Navigation: Use the zoom in/out and navigation tools provided by PDFedit to better view and navigate through the PDF file while editing.
  • Adding Annotations: PDFedit allows you to add annotations, such as comments or highlights, to the PDF file. These annotations can be helpful for adding notes or clarifications.
  • Merge or Split PDF Files: In addition to editing individual PDF files, PDFedit also supports merging multiple PDF files into a single document or splitting a PDF file into multiple pages.
  • Be cautious: It is important to note that extensive editing of complex PDF files, especially those with intricate formatting, may lead to unintended changes or formatting issues. Always double-check your edits and make sure to save a backup copy of the original PDF file before proceeding with significant modifications.

Conclusion

PDFedit provides a powerful and flexible solution for editing PDF files in Linux. With its various editing modes and features, you can modify the text, add or manipulate images, annotate, and perform other editing tasks efficiently. Remember to exercise caution when editing complex PDF files and always keep a backup of the original file. With PDFedit, you can confidently make edits to your PDF files while using Linux as your operating system.


Next Article
How to Embed PDF file using HTML ?
author
rahulrjosi_57
Improve
Article Tags :
  • Linux-Unix

Similar Reads

  • How to Edit Text Files in Linux: Proven 3 Methods
    Need to tweak a file in Linux but not sure where to start? Editing text files in Linux is a handy skill that can help you fix settings, write scripts, or just note down notes all from your keyboard. This blog is here to help you get started, even if you’re new to Linux. We’ll show you simple ways to
    4 min read
  • How to Create a File in the Linux Using the Terminal?
    In this article, we will learn to create a file in the Linux/Unix system using the terminal. In the Linux/Unix system, there are the following ways available to creating files. Using the touch commandUsing the cat commandUsing redirection operatorUsing the echo commandUsing the heredocUsing the dd c
    4 min read
  • How to Embed PDF file using HTML ?
    We will learn how to embed PDF files in HTML documents and explore their implementation through examples. Sometimes, you may want to insert a PDF file into an HTML document to make the content more interactive. Since HTML and PDF formats are different, embedding PDFs can be a bit challenging. Here a
    3 min read
  • How to Open a File in Linux​
    In Linux, a file is a fundamental unit of storage, representing everything from documents and images to system logs and program data. Unlike traditional operating systems, Linux treats almost everything—files, directories, devices, and processes—as a file. Whether you're accessing a simple text docu
    6 min read
  • How to Edit Multiple Files in Vi Editor in Linux
    Vi, short for "visual editor," is a powerful and ubiquitous text editor in the Linux ecosystem. Among its many features, one of the most useful is its capability to edit multiple files simultaneously. This ability streamlines the editing process, especially when dealing with projects that span multi
    4 min read
  • How to Edit Multiple Files in Vim Editor in Linux
    Vim, short for "Vi Improved," is a highly configurable and powerful text editor built upon the foundation of Vi. Like its predecessor, Vim offers robust support for editing multiple files simultaneously, making it an indispensable tool for developers, system administrators, and anyone working extens
    4 min read
  • How to Create File in Linux
    Today, we're going to learn about something really important – how to create files in Linux. It's like creating a fresh piece of digital paper to write or store things. We'll explore different ways to do this using simple commands. Whether you're just starting out or have been using Linux for a bit,
    7 min read
  • Print to PDF in a For Loop Using R
    When working with R, it's often necessary to automatically create multiple plots or reports and save each one as a PDF file. This task is usually part of data analysis and reporting, where it's important to be efficient and ensure that results can be reproduced easily. Using a `for` loop along with
    2 min read
  • How to Run a File in Linux
    The command line is one of the most powerful tools in Linux. It allows you to execute commands, manage files, and automate tasks all from a single terminal window. One common task you'll often need to do is run a file, whether it’s a script, a compiled program, or even a text file. In this article,
    6 min read
  • How to Scrape all PDF files in a Website?
    Prerequisites: Implementing Web Scraping in Python with BeautifulSoup Web Scraping is a method of extracting data from the website and use that data for other uses. There are several libraries and modules for doing web scraping in Python.  In this article, we'll learn how to scrape the PDF files fro
    4 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences